mirror of
https://github.com/correl/openapi-core.git
synced 2024-11-28 11:09:52 +00:00
11 lines
266 B
Python
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)
|