mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
renaming
This commit is contained in:
parent
aadd59d005
commit
4171ab4bbd
3 changed files with 39 additions and 9 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue