Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/client / errors / ClientNotConnectedError
Class: ClientNotConnectedError
Defined in: packages/client/src/errors.ts:44
Stable
Extends
Constructors
Constructor
ts
new ClientNotConnectedError(message?): ClientNotConnectedError;Defined in: packages/client/src/errors.ts:45
Parameters
| Parameter | Type | Default value |
|---|---|---|
message | string | 'GraphorinClient is not connected. Call connect() first.' |
Returns
ClientNotConnectedError
Overrides
GraphorinClientError.constructor
Properties
| Property | Modifier | Type | Inherited from | Defined in |
|---|---|---|---|---|
cause? | public | unknown | GraphorinClientError.cause | node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts:26 |
kind | readonly | GraphorinClientErrorKind | GraphorinClientError.kind | packages/client/src/errors.ts:34 |
message | public | string | GraphorinClientError.message | node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1077 |
name | public | string | GraphorinClientError.name | node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1076 |
stack? | public | string | GraphorinClientError.stack | node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1078 |