CapabilityException class abstract base

Something asked of a device, a backend or a platform that it does not do: a feature a backend leaves out of its features, a limit a request exceeds, a check a backend declines.

A capability can be asked about before the call (GraphicsDevice.features and its limits); this is what the call says when nobody asked.

Inheritance

Constructors

CapabilityException()
For a refusal of a capability, which supplies message.
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.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
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.
inherited

Operators

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