OpenSeesPyAssistant 1.1
OpenSeesPy for everyone
ErrorHandling.py
Go to the documentation of this file.
1"""Module dedicated to the error handling. \n
2Carmine Schipani, 2021
3"""
4
5
6class ZeroDivision(Exception):
7 """Exception class for the "zero division" error.
8 """
9 pass
10
11class WrongArgument(Exception):
12 """Exception class for the "input of a wrong argument" error.
13 """
14 pass
15
16class NegativeValue(Exception):
17 """Exception class for the "negative value (argument or result)" error.
18 """
19 pass
20
21class PositiveValue(Exception):
22 """Exception class for the "positive value (argument or result)" error.
23 """
24 pass
25
26class WrongDimension(Exception):
27 """Exception class for the "wrong array dimensions" error.
28 """
29 pass
30
31class InconsistentGeometry(Exception):
32 """Exception class for the "inconsistent geometry" error.
33 """
34 pass
35
36class MemberFailure(Exception):
37 """Exception class for the "member failure" error.
38 """
39 pass
40
41class WrongNodeIDConvention(Exception):
42 """Exception class for the "wrong node ID convention definition" error.
43 """
44 def __init__(self, node):
45 self.nodenode = node
46
47class NoApplicability(Exception):
48 """Exception class for the "no applicability of formula of theory" error.
49 """
50 pass
51
52class ZeroLength(Exception):
53 """Exception class for the "zero length element (non intentional)" error.
54 """
55 def __init__(self, element):
56 self.elementelement = element
Exception class for the "inconsistent geometry" error.
Exception class for the "member failure" error.
Exception class for the "negative value (argument or result)" error.
Exception class for the "no applicability of formula of theory" error.
Exception class for the "positive value (argument or result)" error.
Exception class for the "input of a wrong argument" error.
Exception class for the "wrong array dimensions" error.
Exception class for the "wrong node ID convention definition" error.
Exception class for the "zero division" error.
Definition: ErrorHandling.py:6
Exception class for the "zero length element (non intentional)" error.
def __init__(self, element)