nix.cpp - errors and common nix code
error enum