context of the Failure.
message associated with the Failure.
value that failed.
explain converts a Failure into a user friendly Explanation.
Explanations can be expanded by providing a hash of ErrorTemplates and a Context.
This function looks up the appropriate template to use and expand in the following order:
${context.$key}.${this.message}
${key}
${this.message}
If all these fail the message value is used.
toError provides an explanation of the Failure as an error.
Generated using TypeDoc
Failure is the class used to represent a failed precondition.