Skip to content
0

katanakit-js / AuthError

Interface: AuthError ​

Defined in: src/core/services/auth.service.ts:16

Why a provider could not answer.

status is the provider's own answer when it has one — InsForge reports 401 for a rejected token, a transport reports 503 when it is down — so a caller can tell "this credential is bad" from "the backend is unreachable" without parsing a message.

Properties ​

PropertyTypeDefined in
details?unknownsrc/core/services/auth.service.ts:19
messagestringsrc/core/services/auth.service.ts:17
status?numbersrc/core/services/auth.service.ts:18

Released under the MIT License.