OpenPit C++ SDK
C++17 SDK for the OpenPit pre-trade risk engine
openpit::asyncengine::Error Class Reference

Async dispatch failure carried by a future or lifecycle API. More...

Inheritance diagram for openpit::asyncengine::Error:
Collaboration diagram for openpit::asyncengine::Error:

Public Member Functions

ErrorCode Code () const noexcept
 
 Error (ErrorCode code, std::string message)
 
const std::string & Message () const noexcept
 
const char * what () const noexcept override
 

Detailed Description

Async dispatch failure carried by a future or lifecycle API.

Constructor & Destructor Documentation

◆ Error()

openpit::asyncengine::Error::Error ( ErrorCode  code,
std::string  message 
)
inline

Member Function Documentation

◆ Code()

ErrorCode openpit::asyncengine::Error::Code ( ) const
inlinenoexcept

◆ Message()

const std::string& openpit::asyncengine::Error::Message ( ) const
inlinenoexcept

◆ what()

const char* openpit::asyncengine::Error::what ( ) const
inlineoverridenoexcept