Skip to content

Commit 23426bf

Browse files
committed
Get rid of unused exceptions
1 parent 9828338 commit 23426bf

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

openapi_core/exceptions.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,6 @@ class OpenAPIError(Exception):
66
pass
77

88

9-
class OpenAPIMediaTypeError(OpenAPIError):
10-
pass
11-
12-
13-
@attr.s(hash=True)
14-
class InvalidContentType(OpenAPIMediaTypeError):
15-
mimetype = attr.ib()
16-
17-
def __str__(self):
18-
return "Content for following mimetype not found: {0}".format(
19-
self.mimetype)
20-
21-
229
class OpenAPIParameterError(OpenAPIError):
2310
pass
2411

0 commit comments

Comments
 (0)