summaryrefslogtreecommitdiff
path: root/pixpat-native/src/error.h
blob: 83a35969678967dd4adf23af037d6bcb6aa4ff45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <stdexcept>

namespace pixpat
{

struct error : std::runtime_error {
	using std::runtime_error::runtime_error;
};

struct invalid_argument : error {
	using error::error;
};

} // namespace pixpat