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

    Class ClockifyApiError

    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
    • Parameters

      • __namedParameters: {
            message?: string;
            statusCode?: number;
            body?: unknown;
            rawResponse?: RawResponse;
            cause?: unknown;
        }

      Returns ClockifyApiError

    statusCode?: number
    body?: unknown
    rawResponse?: RawResponse
    cause?: unknown