OdinResult
Collection of functions to handle ODIN return codes.
Cases
success
A function completed successfully.
error(_:)
A function aborted with an error.
value(_:)
A function returned an integer value.
Properties
description
A string representation of the result.
Methods
format(_:)
Helper function that formats a specified return code using a set of pre-defined cases.
validate(_:)
Helper function that validates a specified return code and throws an error if necessary.