1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 14:21:48 +02:00
This commit is contained in:
Ben Burdette 2020-03-24 09:18:23 -06:00
parent aadd59d005
commit 4171ab4bbd
3 changed files with 39 additions and 9 deletions

View file

@ -24,13 +24,18 @@ using namespace nix;
ErrorInfo generic;
generic.level = elError;
generic.errName = "error name";
generic.name = "error name";
generic.description = "general error description";
generic.toolName = "nixtool.exe";
generic.program = "nixtool.exe";
generic.nixCode = nixcode;
print_error(generic);
StandardError standardError;
print_error(standardError.name("blah").description("blah"));
return 0;
}