Interface for handle error in business logic. It may be something like write log or else.
!!! This is not meant to be used in the presentation layer for handling errors.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
handleError(
Object error, {StackTrace? stackTrace}) → void - This method have to handle of passed error and optional StackTrace.
-
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