Skip to content

Interface: AuthErrorPayload

Interface: AuthErrorPayload

Defined in: auth-shared/src/errors/envelope.ts:11

The error payload from the auth-server.

Properties

code?

optional code?: string

Defined in: auth-shared/src/errors/envelope.ts:12


details?

optional details?: Record<string, unknown>

Defined in: auth-shared/src/errors/envelope.ts:17

Optional per-error structured detail (validation field errors, remaining cooldown seconds, etc.). Server-side shapes are heterogeneous — keep it unstructured at the type level.


message?

optional message?: string

Defined in: auth-shared/src/errors/envelope.ts:13