Coverage for pySDC/core/errors.py: 100%
9 statements
« prev ^ index » next coverage.py v7.6.7, created at 2024-11-16 14:51 +0000
« prev ^ index » next coverage.py v7.6.7, created at 2024-11-16 14:51 +0000
1class DataError(Exception):
2 """
3 Error Class handling/indicating problems with data types
4 """
6 pass
9class ParameterError(Exception):
10 """
11 Error Class handling/indicating problems with parameters (mostly within dictionaries)
12 """
14 pass
17class UnlockError(Exception):
18 """
19 Error class handling/indicating unlocked levels
20 """
22 pass
25class CollocationError(Exception):
26 """
27 Error class handling/indicating problems with the collocation
28 """
30 pass
33class ConvergenceError(Exception):
34 """
35 Error class handling/indicating problems with convergence
36 """
38 pass
41class TransferError(Exception):
42 """
43 Error class handling/indicating problems with the transfer processes
44 """
46 pass
49class CommunicationError(Exception):
50 """
51 Error class handling/indicating problems with the communication
52 """
54 pass
57class ControllerError(Exception):
58 """
59 Error class handling/indicating problems with the controller
60 """
62 pass
65class ProblemError(Exception):
66 """
67 Error class handling/indicating problems with the problem classes
68 """
70 pass
73class ReadOnlyError(Exception): # pragma: no cover
74 """
75 Exception thrown when setting a read-only class attribute
76 """
78 def __init__(self, name):
79 super().__init__(f'cannot set read-only attribute {name}')