Stratax
Scientific computing containers and operations
Toggle main menu visibility
Loading...
Searching...
No Matches
Exceptions.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <stdexcept>
4
5
namespace
Exceptions
{
6
8
class
StrataxError
:
public
std::runtime_error
9
{
10
public
:
11
using
std::runtime_error::runtime_error;
12
};
13
15
class
ShapeError
:
public
StrataxError
16
{
17
public
:
18
using
StrataxError::StrataxError;
19
};
20
22
class
DimensionError
:
public
StrataxError
23
{
24
public
:
25
using
StrataxError::StrataxError;
26
};
27
29
class
IndexError
:
public
StrataxError
30
{
31
public
:
32
using
StrataxError::StrataxError;
33
};
34
36
class
TypeError
:
public
StrataxError
37
{
38
public
:
39
using
StrataxError::StrataxError;
40
};
41
43
class
BroadcastError
:
public
StrataxError
44
{
45
public
:
46
using
StrataxError::StrataxError;
47
};
48
50
class
ZeroDivisionError
:
public
StrataxError
51
{
52
public
:
53
using
StrataxError::StrataxError;
54
};
55
}
Exceptions::BroadcastError
Signals that an operation cannot be completed with the current broadcast rules.
Definition
Exceptions.hpp:44
Exceptions::DimensionError
Signals an invalid dimension count or dimension arithmetic failure.
Definition
Exceptions.hpp:23
Exceptions::IndexError
Signals an invalid index access.
Definition
Exceptions.hpp:30
Exceptions::ShapeError
Signals an invalid or incompatible shape.
Definition
Exceptions.hpp:16
Exceptions::StrataxError
Base class for Stratax-specific runtime errors.
Definition
Exceptions.hpp:9
Exceptions::TypeError
Signals an invalid or unsupported type.
Definition
Exceptions.hpp:37
Exceptions::ZeroDivisionError
Signals a division by zero.
Definition
Exceptions.hpp:51
Exceptions
Definition
Exceptions.hpp:5
include
stratax
core
Exceptions.hpp
Generated by
1.17.0