mirror of
https://github.com/correl/openapi-core.git
synced 2024-11-29 11:09:54 +00:00
15 lines
303 B
Python
15 lines
303 B
Python
import attr
|
|
|
|
from openapi_core.schema.exceptions import OpenAPIMappingError
|
|
|
|
|
|
class OpenAPIPathError(OpenAPIMappingError):
|
|
pass
|
|
|
|
|
|
@attr.s(hash=True)
|
|
class InvalidPath(OpenAPIPathError):
|
|
path_pattern = attr.ib()
|
|
|
|
def __str__(self):
|
|
return "Unknown path {0}".format(self.path_pattern)
|