openapi-core/openapi_core/deserializing/parameters/exceptions.py
2020-02-03 13:05:44 +00:00

11 lines
266 B
Python

import attr
from openapi_core.deserializing.exceptions import DeserializeError
@attr.s(hash=True)
class EmptyParameterValue(DeserializeError):
name = attr.ib()
def __str__(self):
return "Value of parameter cannot be empty: {0}".format(self.name)