handling incorrect captcha and check not found cases
This commit is contained in:
16
exceptions/ofdrequestexception.h
Normal file
16
exceptions/ofdrequestexception.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef OFDREQUESTEXCEPTION_H
|
||||
#define OFDREQUESTEXCEPTION_H
|
||||
|
||||
#include <exception>
|
||||
#include <string>
|
||||
|
||||
class OfdRequestException : public std::exception
|
||||
{
|
||||
private:
|
||||
std::string message;
|
||||
public:
|
||||
OfdRequestException(const char* msg);
|
||||
const char* what() throw();
|
||||
};
|
||||
|
||||
#endif // OFDREQUESTEXCEPTION_H
|
||||
Reference in New Issue
Block a user