Skip to content

SparkClientError

Defined in: errors.ts:140

Base class for errors raised by the client before any RPC is made. Callers can catch (e) { if (e instanceof SparkClientError) ... } to distinguish client-side issues from server-side failures.

  • Error
new SparkClientError(message, options?): SparkClientError;

Defined in: errors.ts:141

ParameterType
messagestring
options?{ cause?: unknown; }
options.cause?unknown

SparkClientError

Error.constructor