Hermes SDK Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Public Attributes | List of all members
HermesSDK::ErrorMessage Struct Reference

#include <HermesCallbackTypes.hpp>

Public Member Functions

 ErrorMessage (ErrorCodes code, std::string message)
 
 ErrorMessage (ErrorCodes code)
 

Public Attributes

ErrorCodes errorCode
 
std::string errorMessage
 

Detailed Description

Instead of just a string, we prefer to send an error code with an optional string this makes it much easier to parse based on the code instead of deciphering the string.


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