Error Utils
Functions
Link copied to clipboard
fun errorStructOf(errorDescription: <ERROR CLASS>, customErrorData: <ERROR CLASS> = Atom.of("")): <ERROR CLASS>
Content copied to clipboard
The error struct, with errorWrapperFunctor, that can be used in throw/1 predicate; It will create a struct in the form of error(errorDescription, customErrorData)