Error class final

A final class representing an error result of an operation.

The Error class extends PassioResult<Never> and contains an error message.

Inheritance

Constructors

Error(String message)
Constructor for creating an Error instance.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
The error message describing the reason for the error.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited