Let's make (git) history!
This commit is contained in:
15
database/exceptions.h
Normal file
15
database/exceptions.h
Normal file
@ -0,0 +1,15 @@
|
||||
#ifndef EXCEPTIONS_H
|
||||
#define EXCEPTIONS_H
|
||||
#include <stdexcept>
|
||||
|
||||
class DatabaseException : public std::runtime_error
|
||||
{
|
||||
using std::runtime_error::runtime_error;
|
||||
};
|
||||
|
||||
class DatabaseQueryException : public DatabaseException
|
||||
{
|
||||
using DatabaseException::DatabaseException;
|
||||
};
|
||||
|
||||
#endif // EXCEPTIONS_H
|
Reference in New Issue
Block a user