Octane API Client
Loading...
Searching...
No Matches
Public Attributes | List of all members
octane::ErrorResponse Struct Reference

General stucture to represent the error. More...

#include <error_response.h>

Public Attributes

std::string code
 Error code. More...
 
std::string reason
 Reason why the error ocurred. More...
 

Detailed Description

General stucture to represent the error.

Member Data Documentation

◆ code

std::string octane::ErrorResponse::code

Error code.

error_code.hで列挙されている任意のエラーコードが格納される。 それ以外の値を入れることはなるべくやめてほしい。 Error code listed in error_code.h will be stored. Don't try to substitute other values.

◆ reason

std::string octane::ErrorResponse::reason

Reason why the error ocurred.

ErrorResponse::codeは機械向けのものだが、こちらは人間が読む用の文字列。 デバッグ効率を上げるためになるべく具体的な情報を入れたいところ。 ErrorResponse::code is for machines, but this is strings for human beings to read. We want to include as much specific information as possible to improve debugging efficiency.


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