Karbone Error
Every way a Karbone call can fail, as a value.
Inheritors
Types
Errors reported by the Carbone API. message is the raw error text from the response, never rewritten.
HTTP 400 or 422: rejected metadata, invalid JSON, missing field, empty template...
A request rejected client-side before any call.
HTTP 413: the template or document sent exceeds Carbone's size limit.
HTTP 500 on a render endpoint.
HTTP 404 when the requested render id is unknown, expired, or already downloaded once.
A response body that could not be parsed.
HTTP 404 when the requested template id is unknown to Carbone.
Local template content could not be read.
Connection, timeout or I/O failure.
HTTP 401, or a malformed bearer token (carbone-ee answers HTTP 500 "Invalid JSON Web Token").
Any other non-2xx status, or a 2xx with success: false.
HTTP 415: Carbone cannot process the template's file format.
Functions
Human-readable summary of this error, used as the message of KarboneException.