DeviceResourceException class final

A resource a device was asked to make or read and could not: pixels that are not the size their description says, a texture with nothing to read.

Implemented types

Constructors

DeviceResourceException({required String operation, required String backend, required String reason, Object? cause})
Creates the refusal of operation by backend, for reason.
const

Properties

backend → String
Who refused, as a person would name the backend.
final
cause → Object?
What was thrown underneath, when this one wraps it; null otherwise.
final
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 setter
operation → String
The call that refused, as GraphicsDevice names it (createTextureFromPixels, readback).
final
reason → String
Why, in a sentence that names what was wrong with the request.
final
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.

Operators

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