UndefinedNameD4rtException class
Properties
-
hasDirectiveContext
↔ bool
-
Whether message already names which module failed to load which target.
getter/setter pairinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
isResolutionFailure
→ bool
-
Whether this error means A NAME DID NOT RESOLVE — a member, operator,
constructor or variable that the receiver does not have — as opposed to
something failing inside a member that was found.
finalinherited
-
message
→ String
-
The error message.
finalinherited
-
name
→ String
-
The identifier that resolved to nothing. Compared by equality, never
parsed.
final
-
originalException
→ Object?
-
When this runtime error wraps a native exception thrown from a bridged
adapter (method, static method, getter, setter, operator, constructor),
the original exception object is preserved here. This lets a typed
on NativeType / bare catch clause in interpreted code dispatch against
the real exception type rather than this RuntimeError wrapper.
(OPEN B.5 — U13/U24.)
finalinherited
-
originalStackTrace
→ StackTrace?
-
The stack trace that accompanied originalException at the point the
bridged adapter threw it.
finalinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
trackedStackTrace
↔ StackTrace?
-
Stack trace captured by ErrorReporter when tracking is enabled.
getter/setter pairinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
revoke()
→ bool
-
Revokes this error from the ErrorReporter.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited