ContextError class
An error that can be thrown while performing an operation in a Context.
Constructors
- ContextError(Context context, ContextErrorKind kind, String message, {ContextError? additional})
- Creates a new context error.
Properties
- additional → ContextError?
-
An additional error that occurred during the call, if any.
final
- context → Context
-
The context the error occurred in.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → ContextErrorKind
-
The kind of error that occurred.
final
- message → String
-
The error message.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
The stack trace at the point where this error was first thrown.
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited