|
Octane API Client
|
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... | |
General stucture to represent the error.
| 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.
| 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.