Stratax
0.3.1
Loading...
Searching...
No Matches
Exceptions.hpp
1
#pragma once
2
3
#include <stdexcept>
4
5
namespace
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
19
class
DimensionError
:
public
StrataxError
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
37
class
BroadcastError
:
public
StrataxError
38
{
39
public
:
40
using
StrataxError::StrataxError;
41
};
42
43
class
ZeroDivisionError
:
public
StrataxError
44
{
45
public
:
46
using
StrataxError::StrataxError;
47
};
48
49
class
AxisError
:
public
StrataxError
50
{
51
public
:
52
using
StrataxError::StrataxError;
53
};
54
class
OverflowError
:
public
StrataxError
55
{
56
public
:
57
using
StrataxError::StrataxError;
58
};
59
}
Exceptions::AxisError
Definition
Exceptions.hpp:50
Exceptions::BroadcastError
Definition
Exceptions.hpp:38
Exceptions::DimensionError
Definition
Exceptions.hpp:20
Exceptions::IndexError
Definition
Exceptions.hpp:26
Exceptions::OverflowError
Definition
Exceptions.hpp:55
Exceptions::ShapeError
Definition
Exceptions.hpp:14
Exceptions::StrataxError
Definition
Exceptions.hpp:8
Exceptions::TypeError
Definition
Exceptions.hpp:32
Exceptions::ZeroDivisionError
Definition
Exceptions.hpp:44
include
stratax
exceptions
Exceptions.hpp
Generated by
1.15.0