Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion services/objectstorage/oas_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
467fe4d305e48699c34835e45fd1c7b486be01d2
cd57f326ffba8445d0a87af77cc590a3bb581c56
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(self, msg, path_to_item=None, valid_classes=None, key_type=None) ->
full_msg = msg
if path_to_item:
full_msg = "{0} at {1}".format(msg, render_path(path_to_item))
super(ApiTypeError, self).__init__(full_msg)
super(ApiTypeError, self).__init__(full_msg, path_to_item, valid_classes, key_type)


class ApiValueError(OpenApiException, ValueError):
Expand All @@ -63,7 +63,7 @@ def __init__(self, msg, path_to_item=None) -> None:
full_msg = msg
if path_to_item:
full_msg = "{0} at {1}".format(msg, render_path(path_to_item))
super(ApiValueError, self).__init__(full_msg)
super(ApiValueError, self).__init__(full_msg, path_to_item)


class ApiAttributeError(OpenApiException, AttributeError):
Expand All @@ -82,7 +82,7 @@ def __init__(self, msg, path_to_item=None) -> None:
full_msg = msg
if path_to_item:
full_msg = "{0} at {1}".format(msg, render_path(path_to_item))
super(ApiAttributeError, self).__init__(full_msg)
super(ApiAttributeError, self).__init__(full_msg, path_to_item)


class ApiKeyError(OpenApiException, KeyError):
Expand All @@ -99,7 +99,7 @@ def __init__(self, msg, path_to_item=None) -> None:
full_msg = msg
if path_to_item:
full_msg = "{0} at {1}".format(msg, render_path(path_to_item))
super(ApiKeyError, self).__init__(full_msg)
super(ApiKeyError, self).__init__(full_msg, path_to_item)


class ApiException(OpenApiException):
Expand Down
Loading