Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

How to handle system exceptions? #78

Open
Horcrux7 opened this issue Mar 3, 2019 · 1 comment
Open

How to handle system exceptions? #78

Horcrux7 opened this issue Mar 3, 2019 · 1 comment

Comments

@Horcrux7
Copy link

Horcrux7 commented Mar 3, 2019

If I understand the spec correctly then it is only possible to handle self defined/throwed exceptions via br_on_exn.

What is with exceptions from the system/runtime self? For example OutOfMemory, UnrechableCode, DivisionByZero, ArrayOutOfRange, NullPointer, ...

Is it possible to differ between this different system exceptions? If yes, how is this possible?

ioannad pushed a commit to ioannad/exception-handling that referenced this issue Jun 6, 2020
@ghost
Copy link

ghost commented Jul 14, 2022

You seem to describe traps, which are also covered in #206.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant