Failure

class caqtus.utils.result.Failure(error: E)

Bases: Generic[E]

A failed result containing an error code of type E.

unwrap() Never

Raise the wrapped exception.

This method is only available when the error type is an exception.