A platform for high-performance distributed tool and library development written in C++. It can be deployed in two different cluster modes: standalone or distributed. API for v0.5.0, released on June 13, 2018.
|
#include <SafeResult.h>
Public Member Functions | |
SafeResultFailure (string errorMessage) | |
void | apply (function< void(P)>, function< void(string)> forFailureCase) |
Public Member Functions inherited from pdb::SafeResult< P > | |
virtual void | apply (function< void(P)> forSuccessCase, function< void(string errorMsg)> forErrorCase)=0 |
P | getResultOrExit (int exitCode) |
Private Attributes | |
string | _errorMessage |
Definition at line 69 of file SafeResult.h.
|
inline |
Definition at line 71 of file SafeResult.h.
|
inline |
Definition at line 75 of file SafeResult.h.
|
private |
Definition at line 80 of file SafeResult.h.