@apet97/clockify115-sdk - v0.1.0
    Preparing search index...

    Class AddonTokenRestrictionError

    A non-2xx response from the Clockify API.

    message is deliberately body-free. Clockify echoes submitted values back in its error text, so a message carrying the response body turns the routine log(err.message) into a way to leak whatever the caller sent. The full body stays on body, and clockifyErrorDetail (@apet97/clockify115-sdk/errors) is the opt-in combined string for a surface whose reader is the submitter. Do not put the body back here.

    Hierarchy (View Summary)

    Index
    method: string
    path: string
    code:
        | "error"
        | "invalid_request"
        | "auth_or_permission"
        | "feature_unavailable"
        | "not_found"
        | "conflict"
        | "rate_limited"
        | "clockify_upstream_error"
        | "connection_error"
        | "aborted"
        | "rate_limited_retry_after"
        | "addon_token_restricted"
        | "host_routing_required"
        | "active_resource_delete_blocked"
        | "manual_time_tracking_disabled"
        | "entry_locked"
        | "dead_route"
        | "name_reserved_after_delete"
        | "setup_required" = "addon_token_restricted"
    statusCode?: number
    body?: unknown
    rawResponse?: RawResponse
    cause?: unknown