commit | a82bc86296432b976e54d805775c3c6fe40e3a43 | [log] [tgz] |
---|---|---|
author | Kevin Benton <kevin@benton.pub> | Mon Feb 13 01:16:13 2017 -0800 |
committer | Kevin Benton <kevin@benton.pub> | Tue Feb 14 03:52:33 2017 +0000 |
tree | f9a67d61dacc970d3e4c21b0ae3112114e8739c6 | |
parent | bad7dcd77c5954e12c871e7d62300ff42addfbeb [diff] |
Add PreconditionFailed exception for HTTP 412 errors This will be an expected error code from Neutron API tests when testing the compare-and-swap update capabilities being added in I7d97d6044378eb59cb2c7bdc788dc6c174783299. Otherwise the tests need to catch UnexpectedResponseCode and extract the error number from the body, which looks ugly. Change-Id: Ic2576438228ea1e15de01779735f7c3ca048c4e5