Stratax 0.3.1
Loading...
Searching...
No Matches
Exceptions.hpp
1#pragma once
2
3#include <stdexcept>
4
5namespace Exceptions {
6
7class StrataxError : public std::runtime_error
8{
9public:
10 using std::runtime_error::runtime_error;
11};
12
13class ShapeError : public StrataxError { public: using StrataxError::StrataxError; };
14class DimensionError : public StrataxError { public: using StrataxError::StrataxError; };
15class RankError : public StrataxError { public: using StrataxError::StrataxError; };
16class IndexError : public StrataxError { public: using StrataxError::StrataxError; };
17class TypeError : public StrataxError { public: using StrataxError::StrataxError; };
18class BroadcastError : public StrataxError { public: using StrataxError::StrataxError; };
19class ZeroDivisionError : public StrataxError { public: using StrataxError::StrataxError; };
20class AxisError : public StrataxError { public: using StrataxError::StrataxError; };
21class OverflowError : public StrataxError { public: using StrataxError::StrataxError; };
22class ValueError : public StrataxError { public: using StrataxError::StrataxError; };
23
24} // namespace Exceptions