Mount API exceptions
mountFlowDropApp() throws synchronously if the mount cannot proceed.
API error handling
FlowDrop calls your REST API during normal operation. Use theonApiError event handler to intercept these errors.
HTTP status codes
operation values
The operation argument tells you what FlowDrop was doing when the error occurred:
Save errors
onSaveError is a separate handler called when a save operation fails. It receives the workflow object that failed to save, allowing you to recover or retry.
Agent Spec validation errors
When exporting a workflow to Agent Spec format viaWorkflowOperationsHelper.exportAsAgentSpec(), the result object indicates success or failure:
Common validation errors
Warnings (non-fatal) indicate information that may be lost in the export, such as FlowDrop-specific configuration fields that have no Agent Spec equivalent.