Skip to main content
zerotal

Documentation


Documentation / @zerotal/auth / SocialError

Class: SocialError

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

Base class for all social-authentication errors (@zerotal/auth).

Extends

Extended by

Constructors

Constructor

new SocialError(message, code?, status?, context?): SocialError

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

Parameters

message

string

code?

string = "E_SOCIAL"

status?

number = 500

context?

Record<string, unknown>

Returns

SocialError

Overrides

ZerotalError.constructor

Properties

code

readonly code: string

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

Inherited from

ZerotalError.code


status

readonly status: number = 500

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

Inherited from

ZerotalError.status


context?

readonly optional context?: Record<string, unknown>

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

Inherited from

ZerotalError.context