@squidcloud/client
    Preparing search index...

    Interface JobError

    An Error carrying a machine-readable errorType, thrown by JobClient.awaitJob when a failed job's AsyncJob.errorType is set. Lets a caller branch on the failure kind (e.g. 'AI_PROVIDER_ERROR') without parsing message.

    interface JobError {
        errorType?: string;
    }

    Hierarchy

    • Error
      • JobError
    Index
    errorType?: string

    The category the failed job's error was tagged with, if any (e.g. 'AI_PROVIDER_ERROR').