Skip to content

Graphorin API reference v0.1.0


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

Class: GraphorinClientError

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

Base class for every error raised by @graphorin/client. Carries a stable GraphorinClientErrorKind discriminator and an optional cause chain.

Stable

Extends

  • Error

Extended by

Constructors

Constructor

ts
new GraphorinClientError(
   kind, 
   message, 
   options?): GraphorinClientError;

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

Parameters

ParameterType
kindGraphorinClientErrorKind
messagestring
optionsErrorOptions

Returns

GraphorinClientError

Overrides

ts
Error.constructor

Properties

PropertyModifierTypeInherited fromDefined in
cause?publicunknownError.causenode_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts:26
kindreadonlyGraphorinClientErrorKind-packages/client/src/errors.ts:34
messagepublicstringError.messagenode_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1077
namepublicstringError.namenode_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1076
stack?publicstringError.stacknode_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1078