Error Model¶
Failure model and typed error boundaries.
Error Types¶
ConfigValidationError: invalid pipeline/manifest paths or schema valuesRuntimeInitializationError: unexpected runtime init failures wrapped by runtime constructorStageExecutionError: stage-level failure wrappersPluginLoadError: import/lookup errors for plugin callablesPluginValidationError: signature/type annotation validation failuresPluginExecutionError: plugin raised exception or returned wrong type
Runtime Behavior¶
fail_fast = true: raise immediately on stage/plugin error.fail_fast = false: collect non-fatal errors into diagnostics and continue.
Non-fatal diagnostics record shape:
{
"stage": "filter",
"error_type": "PluginExecutionError",
"detail": "..."
}
CLI Exit Mapping¶
0: success2: config errors3: plugin errors4: stage errors1: otherHonestRolesError
Debug Workflow¶
- Run
honestroles config validate --pipeline ... - Run
honestroles plugins validate --manifest ... - Run
honestroles run ... - If using recovery mode, inspect
non_fatal_errorsin diagnostics