Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::SysErrorFields Struct Reference

#include <system-error.hh>

Inheritance diagram for nix::SysErrorFields:
nix::NativeCodeSystemError< SysErrorFields, &SysErrorFields::errNo > nix::CloneableError< SysError, NativeCodeSystemError< SysErrorFields, &SysErrorFields::errNo > > nix::SysError

Static Public Member Functions

static int ambientError ()
static std::error_code toErrorCode (int code)
static std::string renderError (int code)

Public Attributes

int errNo

Detailed Description

The fields of SysError that NativeCodeSystemError sets, and the static methods it needs for them.

Member Function Documentation

◆ ambientError()

int nix::SysErrorFields::ambientError ( )
inlinestatic

The ambient errno. See NativeCodeSystemError.

◆ renderError()

std::string nix::SysErrorFields::renderError ( int code)
inlinestatic

With strerror. See NativeCodeSystemError.

◆ toErrorCode()

std::error_code nix::SysErrorFields::toErrorCode ( int code)
inlinestatic

The documentation for this struct was generated from the following file: