workflow/errors

Semantic error types thrown by the Workflow SDK and its storage backends.

API reference for the error classes exported from the workflow/errors package.

All errors extend WorkflowError, so you can catch any SDK error with a single instanceof check, or narrow to a specific class for fine-grained handling. Failures from workflow storage backends extend WorkflowWorldError.

Base classes

Registration errors

Run errors

Hook errors

Backend errors