Skip to content

Commit 3b680b3

Browse files
s7oevfilak-sap
authored andcommitted
errors: create ProgramError
1 parent 562c9ee commit 3b680b3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pyodata/exceptions.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,7 @@ def __init__(self, message, response):
3535
super(HttpError, self).__init__(message)
3636

3737
self.response = response
38+
39+
40+
class ProgramError(PyODataException):
41+
"""Raised when an error in the program logic occurs"""

0 commit comments

Comments
 (0)