From: Yuri Weinstein Date: Tue, 2 May 2017 16:07:29 +0000 (-0700) Subject: Merge pull request #14497 from tchaikov/wip-pybind-better-error-msg X-Git-Tag: v12.0.3~122 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0fd1689cf8dc0ae679e8600eeb3899534b10337d;p=ceph.git Merge pull request #14497 from tchaikov/wip-pybind-better-error-msg pybind: better error msg Reviewed-by: Josh Durgin --- 0fd1689cf8dc0ae679e8600eeb3899534b10337d diff --cc src/pybind/rados/rados.pyx index 983ea460efb,6c657317d4f..02c1f82d798 --- a/src/pybind/rados/rados.pyx +++ b/src/pybind/rados/rados.pyx @@@ -297,11 -295,13 +295,13 @@@ LIBRADOS_CREATE_IDEMPOTENT = _LIBRADOS_ ANONYMOUS_AUID = 0xffffffffffffffff ADMIN_AUID = 0 + class Error(Exception): """ `Error` class, derived from `Exception` """ + pass -class InvalidArgument(Error): +class InvalidArgumentError(Error): pass