CCF
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Functions
odata_error.h File Reference
#include "ccf/ds/json.h"
#include "ccf/http_status.h"

Go to the source code of this file.

Classes

struct  ccf::ODataAuthErrorDetails
 
struct  ccf::ODataJSExceptionDetails
 
struct  ccf::ODataError
 
struct  ccf::ODataErrorResponse
 
struct  ccf::ErrorDetails
 

Namespaces

namespace  ccf
 
namespace  ccf::errors
 

Macros

#define ERROR(code)   constexpr const char* code = #code;
 

Functions

 ccf::DECLARE_JSON_TYPE (ODataAuthErrorDetails)
 
 ccf::DECLARE_JSON_REQUIRED_FIELDS (ODataAuthErrorDetails, auth_policy, code, message)
 
 ccf::DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (ODataJSExceptionDetails)
 
 ccf::DECLARE_JSON_REQUIRED_FIELDS (ODataJSExceptionDetails, code, message)
 
 ccf::DECLARE_JSON_OPTIONAL_FIELDS (ODataJSExceptionDetails, trace)
 
 ccf::DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (ODataError)
 
 ccf::DECLARE_JSON_REQUIRED_FIELDS (ODataError, code, message)
 
 ccf::DECLARE_JSON_OPTIONAL_FIELDS (ODataError, details)
 
 ccf::DECLARE_JSON_TYPE (ODataErrorResponse)
 
 ccf::DECLARE_JSON_REQUIRED_FIELDS (ODataErrorResponse, error)
 

Macro Definition Documentation

◆ ERROR

#define ERROR (   code)    constexpr const char* code = #code;