macos
This commit is contained in:
parent
ccd20f5461
commit
8709ef9de9
4 changed files with 330 additions and 203 deletions
|
@ -99,6 +99,7 @@ namespace util {
|
|||
: message(std::format("{}: {}", context, std::system_category().message(errno))), location(loc) {
|
||||
using namespace matchit;
|
||||
using enum DracErrorCode;
|
||||
|
||||
code = match(errno)(
|
||||
is | EACCES = PermissionDenied,
|
||||
is | ENOENT = NotFound,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue