mirror of
https://github.com/correl/openapi-core.git
synced 2025-01-04 03:00:15 +00:00
49 lines
711 B
Python
49 lines
711 B
Python
"""OpenAPI core exceptions module"""
|
|
|
|
|
|
class OpenAPIError(Exception):
|
|
pass
|
|
|
|
|
|
class OpenAPIMappingError(OpenAPIError):
|
|
pass
|
|
|
|
|
|
class MissingParameterError(OpenAPIMappingError):
|
|
pass
|
|
|
|
|
|
class MissingBodyError(OpenAPIMappingError):
|
|
pass
|
|
|
|
|
|
class MissingPropertyError(OpenAPIMappingError):
|
|
pass
|
|
|
|
|
|
class InvalidContentTypeError(OpenAPIMappingError):
|
|
pass
|
|
|
|
|
|
class InvalidOperationError(OpenAPIMappingError):
|
|
pass
|
|
|
|
|
|
class InvalidServerError(OpenAPIMappingError):
|
|
pass
|
|
|
|
|
|
class InvalidValueType(OpenAPIMappingError):
|
|
pass
|
|
|
|
|
|
class InvalidValue(OpenAPIMappingError):
|
|
pass
|
|
|
|
|
|
class EmptyValue(OpenAPIMappingError):
|
|
pass
|
|
|
|
|
|
class UndefinedSchemaProperty(OpenAPIMappingError):
|
|
pass
|