2019-07-27 01:11:14 +00:00
|
|
|
class AlreadyExistsException(Exception):
|
|
|
|
pass
|
|
|
|
|
2020-10-14 12:44:05 +00:00
|
|
|
|
2019-07-27 01:11:14 +00:00
|
|
|
class NotFoundException(Exception):
|
|
|
|
pass
|
|
|
|
|
2020-10-14 12:44:05 +00:00
|
|
|
|
2019-07-27 01:11:14 +00:00
|
|
|
class ObjectIsInvalid(Exception):
|
2019-12-20 12:26:37 +00:00
|
|
|
pass
|
|
|
|
|
2020-10-14 12:44:05 +00:00
|
|
|
|
2019-12-20 12:26:37 +00:00
|
|
|
class ConflictException(Exception):
|
2020-10-14 12:44:05 +00:00
|
|
|
pass
|
2021-11-11 09:18:23 +00:00
|
|
|
|
2021-11-16 14:05:06 +00:00
|
|
|
|
2021-11-15 12:47:43 +00:00
|
|
|
class RawRequestEndpointMissing(Exception):
|
|
|
|
"""This ApiObject can only be obtained through other api objects and does not have
|
|
|
|
diret .request method."""
|
|
|
|
pass
|
|
|
|
|
2021-11-16 14:05:06 +00:00
|
|
|
|
2021-11-11 09:18:23 +00:00
|
|
|
class MissiongEqualyImplementation(Exception):
|
|
|
|
"""
|
|
|
|
Each Object obtained from the gitea api must be able to check itself for equality in relation to its
|
|
|
|
fields obtained from gitea. Risen if an api object is lacking the proper implementation.
|
|
|
|
"""
|
|
|
|
pass
|