Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/client / errors / SubprotocolMismatchError
Class: SubprotocolMismatchError
Defined in: packages/client/src/errors.ts:63
Stable
Extends
Constructors
Constructor
ts
new SubprotocolMismatchError(expected, actual): SubprotocolMismatchError;Defined in: packages/client/src/errors.ts:67
Parameters
| Parameter | Type |
|---|---|
expected | string |
actual | string | null |
Returns
SubprotocolMismatchError
Overrides
GraphorinClientError.constructor
Properties
| Property | Modifier | Type | Inherited from | Defined in |
|---|---|---|---|---|
actual | readonly | string | null | - | packages/client/src/errors.ts:65 |
cause? | public | unknown | GraphorinClientError.cause | node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts:26 |
expected | readonly | string | - | packages/client/src/errors.ts:64 |
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 |