Documentation / zerotal / auth / SocialError
Class: SocialError
Defined in: packages/auth/src/social/errors.ts:4
Base class for all social-authentication errors (@zerotal/auth).
Extends
Extended by
UnknownSocialDriverErrorOAuthStateMismatchErrorOAuthMissingCodeErrorSocialContextUnavailableErrorOAuthTokenExchangeErrorOAuthUserFetchErrorAppleClientSecretError
Constructors
Constructor
new SocialError(
message,code?,status?,context?):SocialError
Defined in: packages/auth/src/social/errors.ts:5
Parameters
message
string
code?
string = "E_SOCIAL"
status?
number = 500
context?
Record<string, unknown>
Returns
SocialError
Overrides
Properties
code
readonlycode:string
Defined in: packages/core/src/errors/ZerotalError.ts:18
Inherited from
status
readonlystatus:number=500
Defined in: packages/core/src/errors/ZerotalError.ts:19
Inherited from
context?
readonlyoptionalcontext?:Record<string,unknown>
Defined in: packages/core/src/errors/ZerotalError.ts:20