openapi-core/openapi_core/exceptions.py
2017-10-17 14:23:26 +01:00

37 lines
544 B
Python

"""OpenAPI core exceptions module"""
class OpenAPIError(Exception):
pass
class OpenAPIMappingError(OpenAPIError):
pass
class MissingParameterError(OpenAPIMappingError):
pass
class MissingPropertyError(OpenAPIMappingError):
pass
class InvalidContentTypeError(OpenAPIMappingError):
pass
class InvalidServerError(OpenAPIMappingError):
pass
class InvalidValueType(OpenAPIMappingError):
pass
class InvalidValue(OpenAPIMappingError):
pass
class UndefinedSchemaProperty(OpenAPIMappingError):
pass