Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

modio::Error

Ahmed Castro edited this page Aug 29, 2018 · 2 revisions

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

Contents

Clone this wiki locally