subprocess::OSError

class: OSError Thrown when some system call fails to execute or give result. The exception message contains the name of the failed system call with the stringisized errno code. Check Popen class API's to know when this exception would be thrown. Its usual that the API exception specification would have this exception together with CalledProcessError.

Synopsis

Declared in <util/subprocess.h>

class OSError
    : public std::runtime_error

Base Classes

NameDescription
std::runtime_error

Member Functions

NameDescription
OSError [constructor]Builds the error by appending the string form of a system error code to a message.
operator=
what [virtual]