commit | 43a694a9883d0a4de5dceb5f038f53a767569cbb | [log] [tgz] |
---|---|---|
author | Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp> | Thu Dec 11 05:29:02 2014 +0000 |
committer | Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp> | Thu Dec 11 11:42:58 2014 +0000 |
tree | 74c8e66172a53a01c92bb296f77edc40f5655132 | |
parent | 938e3330e2219740b9ab3f14984f2d67177b268d [diff] |
Raise a new exception NotImplemented for HTTP501 In _error_checker(), both HTTP500 and 501 are converted to the same exception ServerFault. In addition, some method which extracts error message raises a specific exception IdentityError without considering HTTP code. This patch adds a new exception NotImplemented and uses it for HTTP501 so that we can know which error response is returned from a server. Change-Id: Ic8fc216377942619f11a2462b79d0597071ac294