TeaPacket v0.0.1
Multiplatform Game Engine
Loading...
Searching...
No Matches
NotImplemented.hpp
Go to the documentation of this file.
1#pragma once
2#include <stdexcept>
3#include <string>
4
7{
9 class NotImplemented : public std::logic_error
10 {
11 public:
12 explicit NotImplemented(const std::string& message) : std::logic_error(message + " not implemented."){}
13 };
14
17 {
18 public:
19 explicit FunctionNotImplemented(const std::string& functionName) : NotImplemented("Function " + functionName){}
20 };
21}
FunctionNotImplemented(const std::string &functionName)
Definition NotImplemented.hpp:19
NotImplemented(const std::string &message)
Definition NotImplemented.hpp:12
Custom errors specific to TeaPacket.
Definition NotImplemented.hpp:7