@kagamidigital/salt-sdk-mirror
    Preparing search index...

    Class InsufficientPermissions

    Thrown when an API request returns a 403 Forbidden status, indicating the caller does not have the required permissions to perform the requested action.

    This is a subclass of ApiError and is thrown automatically whenever new ApiError(403, body) is constructed. Callers can catch it either as an ApiError (with status === 403) or specifically as InsufficientPermissions.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    body?: unknown

    The full parsed JSON response body, when available.

    code?: string

    Application error code from the response body, if present. E.g. "INSUFFICIENT_FUNDS", "CALL_EXCEPTION".

    message: string
    method?: string

    The HTTP method (e.g. GET, POST), when available.

    name: string
    stack?: string
    status: number

    HTTP status code (e.g. 500, 404).

    url?: string

    The request URL, when available.