try_tiny
Minimal try/catch with proper preservation of $@
Also on HaikuPorts.
try_tiny
Description
This module provides bare bones try/catch/finally statements that are designed to minimize common mistakes with eval blocks, and NOTHING else.
Install
Channel stable v0.32-2
This app is curated in HaikuPorts. Install it from there, it is already available in HaikuDepot.
pkgman install try_tiny
Download version 0.32-2 (any) hpkg
Careful: the file comes from HaikuPorts' own server, but installing it by hand is not the way in. It is pkgman that resolves the dependencies an .hpkg does not carry with it, and a package installed on its own may simply not run. Use the pkgman command above, unless you know exactly why you want the file.