PhysicsException class final

The physics itself failed: a panic, or a world a panic left in doubt. A game's own mistakes throw Dart's errors instead: an ArgumentError for a bad value, a StateError for a call at the wrong time or on something gone. status says which failure; message is the physics' own explanation.

Implemented types

Constructors

PhysicsException(PhysicsStatus status, String message)
The physics failed with status, saying message.

Properties

hashCode → int
The hash code for this object.
no setterinherited
message → String
What the physics says happened.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → PhysicsStatus
Which failure it was.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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