kantan.codecs.error
Type class for types that can be used as errors.
This is mostly meant to work in conjunction with Error, and lets code that deals with errors turn them into values of the right error type.
Creates a new instance of E from an error message and exception.
E
Creates a new instance of E from an error message.
Creates a new instance of E from an exception.
Type class for types that can be used as errors.
This is mostly meant to work in conjunction with Error, and lets code that deals with errors turn them into values of the right error type.