Class: StateError

StateError

Indicates that an operation could not be performed because the performer is in an invalid state. For example, a message could not be sent because the client is not connected.