diff options
Diffstat (limited to 'bpkg/diagnostics.hxx')
-rw-r--r-- | bpkg/diagnostics.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bpkg/diagnostics.hxx b/bpkg/diagnostics.hxx index d11ab0b..925b080 100644 --- a/bpkg/diagnostics.hxx +++ b/bpkg/diagnostics.hxx @@ -21,6 +21,11 @@ namespace bpkg // class failed: public std::exception {}; + // As above but needs to be used for recoverable errors which are likely to + // disappear on the command retry. + // + class recoverable: public failed {}; + // Print process commmand line. If the number of elements is specified // (or the second version is used), then it will print the piped multi- // process command line, if present. In this case, the expected format |