Skip to main content

NelkapError

Thrown when Nelkap turns a call down.
number
The HTTP status of the answer.
string
The reason’s code, like workflowNotFound.
{ path: PropertyKey[]; message: string }[]
For badRequest, the fields at fault and what is wrong with each.

StepError

Thrown by step.run when its function threw.
string
The message of the error the function threw, up to 2,048 characters.
unknown
The error the function threw, on the call where the step ran.

API errors

When saving a step gets throughputLimitReached or unexpected, the SDK doesn’t throw. See Short outages.

Run failures

Besides your own errors, a run can fail for one of these reasons, shown on its page:

SDK errors

The SDK throws a plain Error in three cases: