WgslCompileException class final

Raised when one of the two programs refuses, carrying what it said.

Implemented types

Constructors

WgslCompileException(String message)
The refusal, with message carrying what the program said.
const

Properties

cause → Object?
What was thrown underneath, when this one wraps it; null otherwise.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
message → String
What went wrong, as a sentence that names the thing it went wrong with.
final
offset → int?
Where in source it failed, where a refusal knows; null by default.
no setterinherited
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