ComputationError class
An error caused by the input expression (coming from the user)
Constructors
- ComputationError(ComputationStep step, {required String message, int? globalPosition})
- Creates the error.
Properties
- globalPosition → int?
-
Where the error happened.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
The message of the error.
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
- step → ComputationStep
-
The step where the error occurred.
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