Safeheron-SGX-Native-Development-Framework v1.2.0
Loading...
Searching...
No Matches
ssgx::http_t::Error Class Reference

Represents detailed error information, typically from client operations. More...

#include <ssgx_http_t_client.h>

Public Member Functions

 Error ()=default
 
 Error (const Error &other)=default
 
 Error (ErrorCode error_code, std::string error_msg, std::string internal_err)
 
ErrorCode code () const
 
const std::string & message () const
 
const std::string & internal_error () const
 

Detailed Description

Represents detailed error information, typically from client operations.

Constructor & Destructor Documentation

◆ Error() [1/3]

ssgx::http_t::Error::Error ( )
default

◆ Error() [2/3]

ssgx::http_t::Error::Error ( const Error & other)
default

◆ Error() [3/3]

ssgx::http_t::Error::Error ( ErrorCode error_code,
std::string error_msg,
std::string internal_err )
inline

Member Function Documentation

◆ code()

ErrorCode ssgx::http_t::Error::code ( ) const
inlinenodiscard

◆ internal_error()

const std::string & ssgx::http_t::Error::internal_error ( ) const
inlinenodiscard

◆ message()

const std::string & ssgx::http_t::Error::message ( ) const
inlinenodiscard

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