Skip to content

basalt / auth/src / AccountLockedError

Class: AccountLockedError ​

Defined in: auth/src/throttle.ts:5

Raised when an identifier has exceeded the failed-login budget.

Extends ​

Constructors ​

Constructor ​

> new AccountLockedError(retryAfterMs): AccountLockedError

Defined in: auth/src/throttle.ts:7

Parameters ​

retryAfterMs ​

number

Returns ​

AccountLockedError

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


retryAfterMs ​

> readonly retryAfterMs: number

Defined in: auth/src/throttle.ts:7


status ​

> readonly status: 429 = 429

Defined in: auth/src/throttle.ts:6

Released under the MIT License.