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