Skip to main content

ConcatflowError

"ConcatflowError"
string
Concatflow API <status>: <reason>. Never contains your API key.
number
The HTTP status.
string | undefined
The machine-readable reason, when the API gives one. Branch on this, not on message.
unknown
The parsed response body, as JSON when it is JSON, as text otherwise.

API errors

Validation errors

Some mistakes never reach the network. They throw a plain TypeError or Error, not a ConcatflowError:

Network errors

If fetch itself fails (DNS, connection refused), its own error is thrown, not a ConcatflowError.