Workflow Docs
AI/LLM: This documentation page is available in plain markdown format at/workflow/latest/docs/reference/classes/WorkflowRequestParseError.md
WorkflowRequestParseError
Class: WorkflowRequestParseError#
Defined in: packages/workflow-core/src/server/parse-request.ts:76
Thrown by parseWorkflowRequest when the body cannot be parsed or is not a JSON object. Route handlers should catch and return a 400.
Extends#
- Error
Constructors#
Constructor#
ts
new WorkflowRequestParseError(message, cause?): WorkflowRequestParseError;Defined in: packages/workflow-core/src/server/parse-request.ts:78
Parameters#
message#
string
cause?#
unknown
Returns#
WorkflowRequestParseError
Overrides#
ts
Error.constructorProperties#
cause?#
ts
readonly optional cause: unknown;Defined in: packages/workflow-core/src/server/parse-request.ts:80
Inherited from#
ts
Error.causemessage#
ts
message: string;Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1075
Inherited from#
ts
Error.messagename#
ts
readonly name: "WorkflowRequestParseError" = 'WorkflowRequestParseError';Defined in: packages/workflow-core/src/server/parse-request.ts:77
Overrides#
ts
Error.namestack?#
ts
optional stack: string;Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from#
ts
Error.stack