mirror of
https://github.com/NixOS/nix
synced 2025-06-28 01:11:15 +02:00
add trace test; error formatting refinements
This commit is contained in:
parent
6359d71d6b
commit
9c0e1fd4f1
3 changed files with 89 additions and 32 deletions
|
@ -173,6 +173,8 @@ public:
|
|||
}
|
||||
|
||||
BaseError & addTrace(std::optional<ErrPos> e, hintformat hint);
|
||||
|
||||
bool hasTrace() const { return !err.traces.empty(); }
|
||||
};
|
||||
|
||||
#define MakeError(newClass, superClass) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue