27 lines
663 B
C++
27 lines
663 B
C++
#pragma once
|
|
#include <exception>
|
|
|
|
class VectorException : public std::exception {
|
|
public:
|
|
VectorException(const char* message);
|
|
const char* what() const noexcept override;
|
|
private:
|
|
const char* _message;
|
|
};
|
|
|
|
class RepoException : public std::exception {
|
|
public:
|
|
RepoException(const char* message);
|
|
const char* what() const noexcept override;
|
|
private:
|
|
const char* _message;
|
|
};
|
|
|
|
class AdminControllerException : public std::exception {
|
|
public:
|
|
AdminControllerException(const char* message);
|
|
const char* what() const noexcept override;
|
|
private:
|
|
const char* _message;
|
|
};
|