Skip to content

Documentation / js-sdk-core / PrivyConnectorError

Class: PrivyConnectorError

Extends

  • PrivyError

Constructors

new PrivyConnectorError(message, cause, privyErrorCode)

new PrivyConnectorError(message, cause?, privyErrorCode?): PrivyConnectorError

Parameters

message: string

cause?: unknown

privyErrorCode?: PrivyEmbeddedWalletErrorCode

Returns

PrivyConnectorError

Overrides

PrivyError.constructor

Properties

cause?

cause?: Error

Original Error object, it the error originated client-side.

Inherited from

PrivyError.cause


privyErrorCode?

privyErrorCode?: PrivyEmbeddedWalletErrorCode

An optional error code, often included in Privy API responses.

Inherited from

PrivyError.privyErrorCode


type

type: string = 'connector_error'

Overrides

PrivyError.type

Methods

toString()

toString(): string

Returns

string

Inherited from

PrivyError.toString