Type Hierarchy:

Represents a failed outcome

Initializer
Failure(String message = "", Exception? exception = null)
Parameters:
  • message = ""

    Message describing the failure

  • exception = null

    Exception (if any) that caused the failure

Attributes
exceptionSource Code
shared Exception? exception

Exception (if any) that caused the failure

Inherited Attributes
Attributes inherited from: Object
hash, string
Inherited Methods
Methods inherited from: Object
equals