Skip to content

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

ParameterType
expectedstring
actualstring | null

Returns

SubprotocolMismatchError

Overrides

GraphorinClientError.constructor

Properties

PropertyModifierTypeInherited fromDefined in
actualreadonlystring | null-packages/client/src/errors.ts:65
cause?publicunknownGraphorinClientError.causenode_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts:26
expectedreadonlystring-packages/client/src/errors.ts:64
kindreadonlyGraphorinClientErrorKindGraphorinClientError.kindpackages/client/src/errors.ts:34
messagepublicstringGraphorinClientError.messagenode_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1077
namepublicstringGraphorinClientError.namenode_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1076
stack?publicstringGraphorinClientError.stacknode_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1078