Allows toggling catch blocks with -debug=NO_CATCH. To use, catch CaughtException instead of Exception in catch blocks.
This exception can never be thrown. Useful for a temporary or aliased catch block exception type.
Returns string mixin for adding a chained exception
Stringify an exception chain.
Extracts the stack trace from an exception's toString, as an array of lines.
Mixin to declare a new exception type with the given name. Automatically generates common constructors.
Test helper. Asserts that a op b, and includes the values in the error message.