5 #ifndef HERALD_ERROR_CODE_H
6 #define HERALD_ERROR_CODE_H
16 ErrorCode() : mSuccess(
true), mMessage(
"") { }
17 ErrorCode(
bool success) : mSuccess(success), mMessage(
"") { }
18 ErrorCode(
bool success, std::string message) : mSuccess(success), mMessage(message) { }
25 std::string message() {
Definition: error_code.h:14
Acts as a non-global memory arena for arbitrary classes.
Definition: aggregates.h:15