Hermes SDK Documentation
|
#include <HermesCallbackTypes.hpp>
Public Member Functions | |
ErrorMessage (ErrorCodes code, std::string message) | |
ErrorMessage (ErrorCodes code) | |
Public Attributes | |
ErrorCodes | errorCode |
std::string | errorMessage |
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.