pulsatrix 1.1.0
Loading...
Searching...
No Matches
pulsatrix::orch::ProviderError Class Reference

The provider answered with an error, or failed after its retries. More...

#include <provider.hpp>

Inheritance diagram for pulsatrix::orch::ProviderError:
Collaboration diagram for pulsatrix::orch::ProviderError:

Public Member Functions

 ProviderError (const std::string &message, int status, std::string type, std::string request_id)
 
int status () const
 
const std::string & type () const
 
const std::string & request_id () const
 

Detailed Description

The provider answered with an error, or failed after its retries.

Constructor & Destructor Documentation

◆ ProviderError()

pulsatrix::orch::ProviderError::ProviderError ( const std::string &  message,
int  status,
std::string  type,
std::string  request_id 
)
inline
Parameters
statusthe HTTP status, or 0 for an error with none (a connection failure, an error event in the middle of a stream)
typethe provider's error type, for example overloaded_error

Member Function Documentation

◆ request_id()

const std::string & pulsatrix::orch::ProviderError::request_id ( ) const
inline

◆ status()

int pulsatrix::orch::ProviderError::status ( ) const
inline

◆ type()

const std::string & pulsatrix::orch::ProviderError::type ( ) const
inline

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