OpenPit C++ SDK
C++17 SDK for the OpenPit pre-trade risk engine
Loading...
Searching...
No Matches
openpit::asyncengine::Error Class Reference

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

#include <future.hpp>

Inheritance 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
inlinenodiscardnoexcept

◆ Message()

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

◆ what()

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