This commit is contained in:
Iliyan Angelov
2025-11-24 03:52:08 +02:00
parent dfcaebaf8c
commit 366f28677a
18241 changed files with 865352 additions and 567 deletions

View File

@@ -0,0 +1,14 @@
class SwaggerError(Exception):
pass
class SwaggerValidationError(SwaggerError):
def __init__(self, msg, errors=None, spec=None, source_codec=None, *args):
super(SwaggerValidationError, self).__init__(msg, *args)
self.errors = errors
self.spec = spec
self.source_codec = source_codec
class SwaggerGenerationError(SwaggerError):
pass