Standard library / Errors · on the one-page reference
Errors
Stable — lowers to the runtime's native error-union/catch machinery, its primary error-handling mechanism.
| API | Notes |
|---|---|
Error("message") · throw e | throw an error value |
try { … } catch (e) { … } finally { … } | e.message holds the message |