proxygen
folly::CalledProcessError Class Reference

#include <Subprocess.h>

Inheritance diagram for folly::CalledProcessError:
folly::SubprocessError

Public Member Functions

 CalledProcessError (ProcessReturnCode rc)
 
 ~CalledProcessError () override=default throw ()
 
ProcessReturnCode returnCode () const
 

Private Attributes

ProcessReturnCode returnCode_
 

Detailed Description

Exception thrown by *Checked methods of Subprocess.

Definition at line 239 of file Subprocess.h.

Constructor & Destructor Documentation

folly::CalledProcessError::CalledProcessError ( ProcessReturnCode  rc)
explicit

Definition at line 130 of file Subprocess.cpp.

131  : SubprocessError(rc.str()), returnCode_(rc) {}
ProcessReturnCode returnCode_
Definition: Subprocess.h:248
folly::CalledProcessError::~CalledProcessError ( )
throw (
)
overridedefault

Member Function Documentation

ProcessReturnCode folly::CalledProcessError::returnCode ( ) const
inline

Definition at line 243 of file Subprocess.h.

243  {
244  return returnCode_;
245  }
ProcessReturnCode returnCode_
Definition: Subprocess.h:248

Member Data Documentation

ProcessReturnCode folly::CalledProcessError::returnCode_
private

Definition at line 248 of file Subprocess.h.


The documentation for this class was generated from the following files: