Bitcoin Core  27.99.0
P2P Digital Currency
Public Member Functions | List of all members
subprocess::OSError Class Reference

#include <subprocess.h>

Inheritance diagram for subprocess::OSError:
[legend]
Collaboration diagram for subprocess::OSError:
[legend]

Public Member Functions

 OSError (const std::string &err_msg, int err_code)
 

Detailed Description

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.

Definition at line 151 of file subprocess.h.

Constructor & Destructor Documentation

◆ OSError()

subprocess::OSError::OSError ( const std::string &  err_msg,
int  err_code 
)
inline

Definition at line 154 of file subprocess.h.


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