Skip to main content
zerotal

Documentation


Documentation / @zerotal/auth / OAuthUserFetchError

Class: OAuthUserFetchError

Defined in: auth/src/social/errors.ts:53

Thrown when fetching the user profile from the provider fails.

Extends

Constructors

Constructor

new OAuthUserFetchError(message, context?): OAuthUserFetchError

Defined in: auth/src/social/errors.ts:54

Parameters

message

string

context?

Record<string, unknown>

Returns

OAuthUserFetchError

Overrides

SocialError.constructor

Properties

code

readonly code: string

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

Inherited from

SocialError.code


status

readonly status: number = 500

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

Inherited from

SocialError.status


context?

readonly optional context?: Record<string, unknown>

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

Inherited from

SocialError.context