folly::CalledProcessError

Exception thrown by *Checked methods of Subprocess.

Synopsis

Declared in <folly/Subprocess.h>

class CalledProcessError
    : public SubprocessError

Base Classes

NameDescription
SubprocessErrorBase exception thrown by the Subprocess methods.

Member Functions

NameDescription
CalledProcessError [constructor]Constructs the error from a process return code.
~CalledProcessError [destructor] [virtual]Destroys the error.
operator=
returnCode Returns the return code of the process that caused this error.
what [virtual]

Using Declarations

NameDescription
SubprocessError Inherits the std::runtime_error constructors.