@truenas/api-client
    Preparing search index...

    Enumeration AuthErrorCode

    Stable, framework-agnostic authentication error codes. The authenticator throws AuthError with one of these codes; consumers translate the code to a localized message (the message here is a plain-English default / fallback).

    Index
    ApiKeyAuthFailed: "API_KEY_AUTH_FAILED"
    FullAdminRequired: "FULL_ADMIN_REQUIRED"
    OtpAuthFailed: "OTP_AUTH_FAILED"
    PasswordAuthFailed: "PASSWORD_AUTH_FAILED"