ComputeKernelException class final

Kernel language source that is not a kernel: a word the language does not have, a type that does not fit, a write to a buffer declared read — with the line and column of the first thing that is wrong.

Implemented types

Constructors

ComputeKernelException(String reason, {required int line, required int column})
const

Properties

cause → Object?
What was thrown underneath, when this one wraps it; null otherwise.
no setterinherited
column → int
See line.
final
hashCode → int
The hash code for this object.
no setterinherited
line → int
Where, counted from one.
final
message → String
What went wrong, as a sentence that names the thing it went wrong with.
no setter
offset → int?
Where in source it failed, where a refusal knows; null by default.
no setterinherited
reason → String
What is wrong, as a sentence.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → Object?
A FormatException too, because that is what the engine threw for bad bytes before this family existed, and code written then catches it as on FormatException. Replacing a bare throw with one of these keeps that code catching it.
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.

Operators

operator ==(Object other) → bool
The equality operator.
inherited