JobErrorData: {
    error: number | string;
    error_message: string;
    fairUse?: SocketSubscriptionFairUseState | null;
    feature?: string;
    imgID?: string;
    isFromWorker: boolean;
    jobID: string;
    limitation?: string;
    requiredPlans?: SubscriptionPlanId[];
    subscriptionLimit?: boolean;
}

Type declaration

  • error: number | string
  • error_message: string
  • OptionalfairUse?: SocketSubscriptionFairUseState | null

    Actionable fair-use details when feature === 'monthly_fair_use'.

  • Optionalfeature?: string

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

  • OptionalimgID?: string
  • isFromWorker: boolean
  • 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 render failure is a subscription FEATURE-gate denial (4081).