KnowledgeOS API Reference
    Preparing search index...

    Interface ApiErrorOptions

    interface ApiErrorOptions {
        category: ApiErrorCategory;
        cause?: Error;
        code: string;
        details?: {
            code: string;
            expected?: string;
            field: string;
            message: string;
            received?: string;
        }[];
        documentationUrl?: string;
        message: string;
        recoverable?: boolean;
        retryable?: boolean;
        retryAfterMs?: number
        | null;
        severity?: "error" | "warning" | "info";
        suggestion?: string;
    }
    Index
    cause?: Error
    code: string
    details?: {
        code: string;
        expected?: string;
        field: string;
        message: string;
        received?: string;
    }[]
    documentationUrl?: string
    message: string
    recoverable?: boolean
    retryable?: boolean
    retryAfterMs?: number | null
    severity?: "error" | "warning" | "info"
    suggestion?: string