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

ModioError

Ahmed Castro edited this page Nov 10, 2017 · 6 revisions
struct ModioError
{
  int code;
  char* message;
  char** errors_array;
  int errors_array_size;
};

The ModioError object is part of the ModioResponse 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.

Name Type Description
code int Http response code returned by mod.io. See ResponseCodes
message char* General error message
errors_array_size char** Error details
errors_array_size int Error array size

Contents

Clone this wiki locally