![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
Errors from the operating system: SystemError, and its subclasses for the native error codes, SysError for errno and windows::WinError for GetLastError(), and NativeSysError for whichever of those is native. More...
#include "nix/util/error.hh"#include <cerrno>#include <concepts>#include <cstring>#include <string>#include <string_view>#include <system_error>#include <type_traits>#include <utility>Go to the source code of this file.
Classes | |
| class | nix::SystemError |
| struct | nix::SystemError::DisambigHintFmt |
| struct | nix::SystemError::DisambigVarArgs |
| class | nix::NativeCodeSystemError< Fields, field > |
| struct | nix::SysErrorFields |
| class | nix::SysError |
Typedefs | |
| using | nix::NativeSysError |
| using | nix::NativeError = NativeSysError::NativeCode |
Errors from the operating system: SystemError, and its subclasses for the native error codes, SysError for errno and windows::WinError for GetLastError(), and NativeSysError for whichever of those is native.
| using nix::NativeError = NativeSysError::NativeCode |
The native error code that NativeSysError is for: an errno value on Unix, and a GetLastError() value on Windows.
| using nix::NativeSysError |
Convenience alias for when we use a errno-based error handling function on Unix, and GetLastError()-based error handling on on Windows.