mirror of
https://github.com/NixOS/nix.git
synced 2025-11-10 12:36:01 +01:00
498 B
498 B
| synopsis | issues | prs | |
|---|---|---|---|
| wrap filesystem exceptions more correctly |
|
With the switch to std::filesystem in different places, Nix started to throw std::filesystem::filesystem_error in many places instead of its own exceptions.
This lead to no longer generating error traces, for example when listing a non-existing directory.
This version catches these types of exception correctly and wrap them into Nix's own exeception type.
Author: @Mic92