Ex Contract v0.1.2 ExContract.FailException exception View Source

Custom exception raised by ExContract.fail/1 macro.

Link to this section Summary

Functions

Callback implementation for Exception.exception/1

Callback implementation for Exception.message/1

Link to this section Types

Link to this type t() View Source
t() :: %ExContract.FailException{__exception__: term(), message: String.t()}

Link to this section Functions

Callback implementation for Exception.exception/1.

Callback implementation for Exception.message/1.

Link to this function new(env, msg) View Source
new(env :: any(), msg :: String.t()) :: t()