X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/63b03a39adfd78961c5bbb6a3a2d02ccd8c92e4d..71c4fdc3352ad5ca34c2f260fe43fa1150868a04:/sdk/python/arvados/errors.py diff --git a/sdk/python/arvados/errors.py b/sdk/python/arvados/errors.py index f6681d602b..3629520a4d 100644 --- a/sdk/python/arvados/errors.py +++ b/sdk/python/arvados/errors.py @@ -17,7 +17,7 @@ class ApiError(apiclient_errors.HttpError): class KeepRequestError(Exception): """Base class for errors accessing Keep services.""" def __init__(self, message='', request_errors=(), label=""): - """KeepRequestError(message='', request_errors=()) + """KeepRequestError(message='', request_errors=(), label="") :message: A human-readable message describing what Keep operation @@ -30,6 +30,9 @@ class KeepRequestError(Exception): These will be packed into an OrderedDict, available through the request_errors() method. + :label: + A label indicating the type of value in the 'key' position of request_errors. + """ self.label = label self._request_errors = OrderedDict(request_errors)