diff options
| author | Maximilian Bosch <maximilian@mbosch.me> | 2025-03-21 11:38:01 +0000 |
|---|---|---|
| committer | Maximilian Bosch <maximilian@mbosch.me> | 2025-03-21 11:38:01 +0000 |
| commit | d587d569e0d6bb4c8dbdb6ddbd6e8e0d8c97bbd7 (patch) | |
| tree | 924fa078684dccce4689f3941a0a3a67d002ab85 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | cc3d409adca4d8479faf64b2d9cfd67d523a56ec (diff) | |
nixos/test-driver: restructure error classes
After a discussion with tfc, we agreed that we need a distinction
between errors where the user isn't at fault (e.g. OCR failing - now
called `MachineError`) and errors where the test actually failed (now
called `RequestedAssertionFailed`).
Both get special treatment from the error handler, i.e. a `!!!` prefix
to make it easier to spot visually.
However, only `RequestedAssertionFailed` gets the shortening of the
traceback, `MachineError` exceptions may be something to report and
maintainers usually want to see the full trace.
Suggested-by: Jacek Galowicz <jacek@galowicz.de>
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
