_exceptions
cybersyn._exceptions
Basic exception classes used to validate correct inputs in the economy.
ShapeError(shape, desired_shape)
Bases: ValueError
The shapes of different matrices of the economy don't match.
Source code in cybersyn/_exceptions.py
21 22 23 24 |
|
ShapesNotEqualError()
Bases: ValueError
The shapes of the matrices difer.
Source code in cybersyn/_exceptions.py
14 15 |
|