StateError
Raised when an operation is invalid for the current object or runtime state, such as using a closed handle or stale reference.
Inherits from: RuntimeError
Constructor
StateError message
Builds an error reporting an operation attempted in the wrong state.
Parameters
| Name | Type | Description |
|---|---|---|
message |
Str |
description of the invalid state |