LLMJobErrorData: {
    error: string;
    error_code?: string;
    error_message: string;
    feature?: string;
    jobID: string;
    limitation?: string;
    requiredPlans?: SubscriptionPlanId[];
    subscriptionLimit?: boolean;
    workerName?: string;
}

Type declaration

  • error: string
  • Optionalerror_code?: string

    Server error code as a string (e.g. '4078', '4080'). The socket server (jobsController handleLLMJobRequest) attaches it to subscription_unavailable denials of jobs submitted with billingMode: 'subscription'; absent on other errors. See SUBSCRIPTION_ERROR_CODES.

  • error_message: string
  • Optionalfeature?: string

    Stable machine key for the gated capability, e.g. 'video_4k_render'.

  • jobID: string
  • Optionallimitation?: string

    Standalone user-facing English describing the limitation.

  • OptionalrequiredPlans?: SubscriptionPlanId[]

    Plans that would satisfy the gated feature, cheapest-first.

  • OptionalsubscriptionLimit?: boolean

    true when this failure is a subscription FEATURE-gate denial (4081).

  • OptionalworkerName?: string

    Worker username that was processing this request (if assigned)