include Sugar.S.Params.Error
type t
This type describes the errors of your project. It's one of the main requirements to create a result monad.
If you don't want to specify your errors upfront, you can still use something like unit or string as error type.
unit
string
val panic : exn ‑> t
When an exception is detected, this module can either terminate the process with a proper message or chose convert the error to the type t.