@book000/pixivts - v0.61.1
    Preparing search index...

    Interface PixivApiErrorBody

    Camelized shape of the JSON error body returned by the pixiv API.

    The pixiv wire format uses snake_case field names (e.g. user_message); HttpClient applies camelizeKeys() before returning, so all fields here are lowerCamelCase.

    interface PixivApiErrorBody {
        error: {
            message: string;
            reason: string;
            userMessage: string;
            userMessageDetails?: Record<string, unknown>;
        };
    }
    Index

    Properties

    Properties

    error: {
        message: string;
        reason: string;
        userMessage: string;
        userMessageDetails?: Record<string, unknown>;
    }

    Error payload returned by the pixiv API (keys camelized).

    Type Declaration

    • message: string

      Internal error message.

    • reason: string

      Short error reason / code.

    • userMessage: string

      Localised error message intended for end users.

    • OptionaluserMessageDetails?: Record<string, unknown>

      Additional details for the user-facing message (may be absent).