mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-15 23:32:46 +00:00
After the driver rounds, fabro-sandbox's Error keeps four variants: Message, Context, AnyhowContext, and Driver. The module still carried helpers written for callers that never arrived: incomplete_operation, is_transport, and is_unsupported classified driver variants nothing in fabro branches on; From<String> and From<&str> let a bare string become an error, which no call site did; driver_error duplicated the From impl; exec_failure and is_not_found had only test callers, and those tests can match on the driver error directly. This removes them. Callers build a Driver error through Error::from, and the two tests that inspected a failure now match on Error::driver(). The Driver variant's doc names the driver variants fabro does act on: Exec, Git, and NotFound. The redaction and log-rendering helpers stay; they are what the error module is for. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.toml | ||