Skip to content

Graphorin API reference v0.15.1


Graphorin API reference / @graphorin/client / errors / SubprotocolMismatchError

Class: SubprotocolMismatchError

Defined in: packages/client/src/errors.ts:105

Stable

Extends

Constructors

Constructor

ts
new SubprotocolMismatchError(expected, actual): SubprotocolMismatchError;

Defined in: packages/client/src/errors.ts:109

Parameters

ParameterType
expectedstring
actualstring | null

Returns

SubprotocolMismatchError

Overrides

GraphorinClientError.constructor

Properties

PropertyModifierTypeInherited fromDefined in
actualreadonlystring | null-packages/client/src/errors.ts:107
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:106
kindreadonlyGraphorinClientErrorKindGraphorinClientError.kindpackages/client/src/errors.ts:76
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