The error that is thrown when a method call is invalid for the object's current state.

This error can be used in cases when the failure to invoke a method is caused by reasons other than invalid arguments.

Hierarchy

  • CustomError
    • InvalidStateError

Constructors

Constructors

Generated using TypeDoc