An error returned by the flow API, either at the top level of a
State (a general failure)
or attached to an individual Input (a validation error for that specific field).Properties:
| Name | Type | Attributes | Description |
|---|---|---|---|
code |
string
|
A machine-readable error code. | |
message |
string
|
A human-readable error message. | |
cause |
string
|
<optional> |
Additional detail about what caused the error, if available. |