Skip to content
rw3iss Auth

AuthErrorPayload

AuthErrorPayload

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

The error payload from the auth-server.

Properties

code?

optional code?: string

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


details?

optional details?: Record<string, unknown>

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

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: @rw3iss/auth-shared/src/errors/envelope.ts