OptionalcodeServer error code exactly as sent on the wire (a string, e.g. '4080').
Currently attached by the socket server to subscription_unavailable
denials — see SUBSCRIPTION_ERROR_CODES.
OptionalerrorMachine-readable error type tag from the server, e.g.
'subscription_unavailable', 'insufficient_balance',
'model_unavailable', 'invalid_request'.
OptionalfeatureStable machine key for the gated capability, e.g. 'video_4k_render'.
OptionaljobIDChat job id the failure belongs to, when known (socket transport).
OptionallimitationStandalone user-facing English describing the limitation.
OptionalpayloadRaw error payload as received from the server (socket message or REST body).
OptionalrequiredPlans that would satisfy the gated feature, cheapest-first.
OptionalstatusHTTP status when the failure came from a REST chat endpoint.
Optionalsubscriptiontrue when this failure is a subscription FEATURE-gate denial (4081).
Structured fields preserved from a failed chat/LLM job.