StackOverflowError class final
Error that the platform can use in case of stack overflow.
Thrown when execution exceeds the call stack limit, typically due to unbounded recursion. Some platforms instead report a host error or fail in a way that cannot be caught.
The stackTrace of this error is always null. Use the stack trace from
catch (e, s) if one is needed.
- Implemented types
Constructors
- StackOverflowError()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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 setteroverride
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