aboutsummaryrefslogtreecommitdiffstats
path: root/al/eax/exception.h
blob: 336654f08af5be0252dbc8182d69302814a9cb76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef EAX_EXCEPTION_INCLUDED
#define EAX_EXCEPTION_INCLUDED

#include <stdexcept>
#include <string>
#include <string_view>


class EaxException : public std::runtime_error {
    static std::string make_message(std::string_view context, std::string_view message);

public:
    EaxException(std::string_view context, std::string_view message);
    ~EaxException() override;
}; // EaxException


#endif // !EAX_EXCEPTION_INCLUDED