update
This commit is contained in:
14
backEnd/venv/lib/python3.12/site-packages/drf_yasg/errors.py
Normal file
14
backEnd/venv/lib/python3.12/site-packages/drf_yasg/errors.py
Normal 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
|
||||
Reference in New Issue
Block a user