Decimal v1.5.0 Decimal.Error exception View Source
The exception that all decimal operations may raise.
Fields
signal
- the signalled error, additional signalled errors will be found in the context.reason
- the reason for the error.result
- the result of the operation signalling the error.
Rescuing the error to access the result or the other fields of the error is discouraged and should only be done for exceptional conditions. It is more pragmatic to set the appropriate traps on the context and check the flags after the operation if the result needs to be inspected.
Link to this section Summary
Functions
Callback implementation for Exception.exception/1
Callback implementation for Exception.message/1
Link to this section Functions
Callback implementation for Exception.exception/1
.
Callback implementation for Exception.message/1
.