Files
School/Anul 1/Semestrul 2/OOP/Labs/a6-DanielCujba/src/exceptions/exceptions.cpp
T
2024-08-31 12:07:21 +03:00

18 lines
387 B
C++

#include "exceptions.h"
RepoException::RepoException(const char* message){
this->_message = message;
}
const char* RepoException::what() const noexcept {
return this->_message;
}
AdminControllerException::AdminControllerException(const char* message){
this->_message = message;
}
const char* AdminControllerException::what() const noexcept {
return this->_message;
}