const char* getLastError(); const char* getDetail(char* detail);
These return values should be const(char)* and the method shouldn't be const.
const char* getLastError(); const char* getDetail(char* detail);
These return values should be const(char)* and the method shouldn't be const.