Skip to content

Error Handling and Tracing

Branchline is built for debuggable pipelines. Use TRY/CATCH for retries and EXPLAIN/ASSERT to keep data quality visible.

Goal

Handle failures safely and emit trace output for diagnostics.

Example

TRANSFORM SafeParse {
    TRY {
        OUTPUT { value: INPUT.payload.value };
    } CATCH {
        OUTPUT { value: null, error: "Missing value" };
    }
}

Try it in the Playground

Next steps

Finish the tour with Real-world Recipes.