Class
SinterClientStateError
A command was used in the wrong client state: CLIENT_NOT_CONNECTED before
connect(), or CLIENT_CLOSED after close().
class SinterClientStateError extends SinterErrorDefined in packages/driver/src/errors.ts:109
Hierarchy
- Error
- SinterError
- SinterClientStateError
- SinterError
Constructors#
constructor
#new SinterClientStateError(
code: "CLIENT_CLOSED" | "CLIENT_NOT_CONNECTED",
message: string,
options?: ErrorOptions,
)Defined in packages/driver/src/errors.ts:110
Overrides SinterError.constructor
Properties#
code
#readonly code: SinterErrorCodeA stable identifier for the kind of failure; see SinterErrorCode.
Inherited from SinterError.code
Defined in packages/driver/src/errors.ts:58