Skip to main content
zerotal

Documentation


Documentation / zerotal / auth / OAuthTokenExchangeError

Class: OAuthTokenExchangeError

Defined in: packages/auth/src/social/errors.ts:46

Thrown when the provider token exchange fails or returns an unexpected response.

Extends

Constructors

Constructor

new OAuthTokenExchangeError(message, context?): OAuthTokenExchangeError

Defined in: packages/auth/src/social/errors.ts:47

Parameters

message

string

context?

Record<string, unknown>

Returns

OAuthTokenExchangeError

Overrides

SocialError.constructor

Properties

code

readonly code: string

Defined in: packages/core/src/errors/ZerotalError.ts:18

Inherited from

SocialError.code


status

readonly status: number = 500

Defined in: packages/core/src/errors/ZerotalError.ts:19

Inherited from

SocialError.status


context?

readonly optional context?: Record<string, unknown>

Defined in: packages/core/src/errors/ZerotalError.ts:20

Inherited from

SocialError.context