Interface: AuthErrorPayload
Interface: AuthErrorPayload
Defined in: auth-shared/src/errors/envelope.ts:11
The error payload from the auth-server.
Properties
code?
optionalcode?:string
Defined in: auth-shared/src/errors/envelope.ts:12
details?
optionaldetails?: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?
optionalmessage?:string
Defined in: auth-shared/src/errors/envelope.ts:13