class
StateError

The operation was not allowed by the current state of the object.

This is a generic error used for a variety of different erroneous actions. The message should be descriptive.

Extends

Properties

String message
read-only
StackTrace stackTrace
read-only , inherited

Constructors

StateError(String message)

Methods

toString() → String
Returns a string representation of this object.