Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
util::async::ExecutionError Struct Reference

Error channel type for async operation of any ExecutionContext. More...

#include <Error.hpp>

Public Member Functions

 ExecutionError (std::string tid, std::string msg)
 Construct a new Execution Error object.
 
 ExecutionError (ExecutionError const &)=default
 
 ExecutionError (ExecutionError &&)=default
 
ExecutionErroroperator= (ExecutionError &&)=default
 
ExecutionErroroperator= (ExecutionError const &)=default
 
 operator char const * () const noexcept
 Conversion to string.
 

Public Attributes

std::string message
 

Detailed Description

Error channel type for async operation of any ExecutionContext.

Constructor & Destructor Documentation

◆ ExecutionError()

util::async::ExecutionError::ExecutionError ( std::string tid,
std::string msg )
inline

Construct a new Execution Error object.

Parameters
tidThe thread id
msgThe error message

Member Function Documentation

◆ operator char const *()

util::async::ExecutionError::operator char const * ( ) const
inlinenodiscardnoexcept

Conversion to string.

Returns
The error message as a C string

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