Octane API Client
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
error_response.h File Reference

Error response. More...

#include <string>
#include <string_view>
#include "./result.h"
Include dependency graph for error_response.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  octane::ErrorResponse
 General stucture to represent the error. More...
 

Namespaces

namespace  octane
 

Functions

error_t< ErrorResponse > octane::makeError (std::string_view code, std::string_view reason)
 Utility function to create error response. More...
 
bool octane::operator== (const ErrorResponse &a, const ErrorResponse &b)
 
std::ostream & octane::operator<< (std::ostream &stream, const ErrorResponse &err)
 

Detailed Description

Error response.

Author
soon (kento.nosp@m..soo.nosp@m.n@gma.nosp@m.il.c.nosp@m.om)
Version
0.1
Date
2022-08-31