wisdom
|
Main source of communication of operation success. To check for success compare wis::Result::status with wis::Status::Ok. If there is any error there is string which is compile-time. It communicates the source of problems even in Release mode. The string contains function name and error message.
#include <api.hpp>
Public Attributes | |
wis::Status | status = wis::Status::Ok |
Operation status. Compare with wis::Status::Ok. | |
const char * | error = nullptr |
Error message. nullptr or 'Operation Succeeded.' if no error. | |
const char* wis::Result::error = nullptr |
wis::Status wis::Result::status = wis::Status::Ok |
Operation status. Compare with wis::Status::Ok.