Skip to main content

Module failure

Module failure 

Source
Expand description

Converts a caught step failure into the structured ExampleFailure payload — port of failure.ts / Failure.java. The Java stack-trace-scraping machinery becomes a structural [FailureLocation] lookup by exact path match.

Functions§

to_failure
A caught step failure → the ExampleResult.failure payload. fallback_line is used when failure carries no location matching oath_path.