mirror of
https://github.com/openSUSE/osc.git
synced 2025-11-26 06:29:50 +01:00
Introduce GitObsRuntimeError exception and use it where appropriate
This commit is contained in:
@@ -61,6 +61,10 @@ class GiteaException(oscerr.OscBaseError):
|
||||
return result
|
||||
|
||||
|
||||
class GitObsRuntimeError(oscerr.OscBaseError):
|
||||
pass
|
||||
|
||||
|
||||
class MovedPermanently(GiteaException):
|
||||
RESPONSE_STATUS = 301
|
||||
RESPONSE_MESSAGE_RE = [
|
||||
|
||||
Reference in New Issue
Block a user