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