Message
Function
Obtains the error code information in the returned object.
Format
const std::string &Message() const;
Parameters
None
Usage Example
Construct an Error object and obtain the error code information in the object.
1 | Error(Error::Code::ERROR, "ERROR: Failed to get real path of home.").Message(); |
Return Value
Error code information, of the string type.
Parent topic: Error