1
0
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:
2025-10-09 09:54:18 +02:00
parent 4fddb4568a
commit 1488f3b873
5 changed files with 11 additions and 3 deletions

View File

@@ -61,6 +61,10 @@ class GiteaException(oscerr.OscBaseError):
return result
class GitObsRuntimeError(oscerr.OscBaseError):
pass
class MovedPermanently(GiteaException):
RESPONSE_STATUS = 301
RESPONSE_MESSAGE_RE = [