Skip to content

basalt / auth/src / AccountLinkConflictError

Class: AccountLinkConflictError ​

Defined in: auth/src/auth.ts:161

A social / SSO login's provider account conflicts with an existing link: the local account is already linked to a different subject of the same provider (another IdP account asserting the same email), or the subject was bound to another account concurrently.

Extends ​

Constructors ​

Constructor ​

> new AccountLinkConflictError(): AccountLinkConflictError

Defined in: auth/src/auth.ts:163

Returns ​

AccountLinkConflictError

Overrides ​

BasaltError.constructor

Properties ​

code ​

> readonly code: string

Defined in: core/src/errors.ts:25

Inherited from ​

BasaltError.code


details? ​

> readonly optional details?: Record<string, unknown>

Defined in: core/src/errors.ts:28

Structured payload passed to the constructor, exactly as given (never sanitised here).

Inherited from ​

BasaltError.details


status ​

> readonly status: 409 = 409

Defined in: auth/src/auth.ts:162

Released under the MIT License.