Stratax 0.3.1
Loading...
Searching...
No Matches
Exceptions.hpp
1#pragma once
2
3#include <stdexcept>
4
5namespace Exceptions {
6
7 class StrataxError : public std::runtime_error
8 {
9 public:
10 using std::runtime_error::runtime_error;
11 };
12
13 class ShapeError : public StrataxError
14 {
15 public:
16 using StrataxError::StrataxError;
17 };
18
20 {
21 public:
22 using StrataxError::StrataxError;
23 };
24
25 class IndexError : public StrataxError
26 {
27 public:
28 using StrataxError::StrataxError;
29 };
30
31 class TypeError : public StrataxError
32 {
33 public:
34 using StrataxError::StrataxError;
35 };
36
38 {
39 public:
40 using StrataxError::StrataxError;
41 };
42
44 {
45 public:
46 using StrataxError::StrataxError;
47 };
48
49 class AxisError : public StrataxError
50 {
51 public:
52 using StrataxError::StrataxError;
53 };
55 {
56 public:
57 using StrataxError::StrataxError;
58 };
59}