ServiceException<T> class
An exception that could occur when accessing some service.
- Implemented types
Constructors
- ServiceException(T failure, {Object? cause, StackTrace? trace})
-
Create an exception.
const
Properties
- cause → Object?
-
An optional source that caused the exception.
final
- failure → T
-
The failure as an object of
T
.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trace → StackTrace?
-
An optional stack trace that is accociated to an optional cause.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited