modio::Error - modio/modio-sdk-legacy GitHub Wiki
The ModioError object is part of the modio::Response object returned on every callback that interacts with mod.io. It contains all the information provided by mod.io in case your requests wasn't successful.
class Error
{
public:
u32 code;
std::string message;
std::vector<std::string> errors;
};
Name | Type | Description |
---|---|---|
code | u32 |
Http response code returned by mod.io. See Response Codes |
message | std::string |
General error message |
errors | std::vector<std::string> |
Error details |
See also: API Errors