Skip to content

Exception handling

I'd like to have a convenient way to catch CLR exceptions. It would be ideal to have functions with similar names and interfaces of those from Control.Exception, but be able to specify a CLR exception type.

In trying to get the import interface generator to work, there's quite a few types in Mono that are not implemented and thus raise an exception when attempting to reflect on them.

I also came across a few segfaults for types without namespaces, but I'll leave that out of scope while there is a simple workaround. Focusing just on the high level CLR exceptions here.

Would probably need a bit of work on the Driver to get this working as I envision.