An errorstd/core/exn/error: V -> V<a> type represents a first-class exception result as a resultstd/core/types/result: (V, V) -> V<a,exceptionstd/core/exn/exception: V>.
The exception data type.
Automatically generated. Retrieves the info constructor field of the exceptionstd/core/exn/exception: V type.
Automatically generated. Retrieves the message constructor field of the exceptionstd/core/exn/exception: V type.
Prepend exn's message with pre.
Show the exception message.
Throw an exception
Call the final ctl throw-exnstd/core/exn/throw-exn: forall<a> (exn : exception) -> exn a operation of the effect exnstd/core/exn/exn: (E, V) -> V.
Exception information.
Generic error.
Automatically generated. Tests for the ExnAssertstd/core/exn/ExnAssert: exception-info constructor of the exception-infostd/core/exn/exception-info: V type.
Automatically generated. Tests for the ExnErrorstd/core/exn/ExnError: exception-info constructor of the exception-infostd/core/exn/exception-info: V type.
Automatically generated. Tests for the ExnInternalstd/core/exn/ExnInternal: (name : string) -> exception-info constructor of the exception-infostd/core/exn/exception-info: V type.
Automatically generated. Tests for the ExnPatternstd/core/exn/ExnPattern: (location : string, definition : string) -> exception-info constructor of the exception-infostd/core/exn/exception-info: V type.
Automatically generated. Tests for the ExnRangestd/core/exn/ExnRange: exception-info constructor of the exception-infostd/core/exn/exception-info: V type.
Automatically generated. Tests for the ExnSystemstd/core/exn/ExnSystem: (errno : int) -> exception-info constructor of the exception-infostd/core/exn/exception-info: V type.
Automatically generated. Tests for the ExnTodostd/core/exn/ExnTodo: exception-info constructor of the exception-infostd/core/exn/exception-info: V type.
Exceptions.
Transform an exception effect to an errorstd/core/exn/error: V -> V type.
Catch any exception raised in action and handle it.
Use on-exitstd/core/exn/on-exit: forall<a,e> (hndler : () -> e (), action : () -> e a) -> e a when appropriate.
deprecated. Catch an exception raised by throwstd/core/exn/throw: forall<a> (message : string, info : ? exception-info) -> exn a and handle it.
Raise a pattern match exception. This is function is used internally by the compiler to generate error messages on pattern match failures.
Set a hndler that is always called when the action finishes (either normally or with an exception).
Throw an exception with a specified message.
Transform an exception result type back to an exn effect (by throwing on an Errorstd/core/types/Error: forall<a,b> (error : b) -> result<a,b>).
Standard exception (
exnstd/core/exn/exn: (E, V) -> V) effect..