openapi-core/openapi_core/exceptions.py

38 lines
544 B
Python
Raw Normal View History

2017-09-21 11:51:37 +00:00
"""OpenAPI core exceptions module"""
class OpenAPIError(Exception):
pass
class OpenAPIMappingError(OpenAPIError):
pass
class MissingParameterError(OpenAPIMappingError):
pass
2017-09-25 14:15:00 +00:00
class MissingPropertyError(OpenAPIMappingError):
pass
2017-09-21 11:51:37 +00:00
class InvalidContentTypeError(OpenAPIMappingError):
pass
2017-09-25 11:22:55 +00:00
class InvalidServerError(OpenAPIMappingError):
pass
2017-09-25 14:15:00 +00:00
class InvalidValueType(OpenAPIMappingError):
pass
2017-10-17 13:23:26 +00:00
class InvalidValue(OpenAPIMappingError):
pass
2017-09-25 14:15:00 +00:00
class UndefinedSchemaProperty(OpenAPIMappingError):
pass