add bad request and method not allowed errors #21

Merged
merged 1 commit into from Sep 16, 2015

Conversation

Projects
None yet
3 participants
Owner

rogpeppe commented Sep 16, 2015

As part of cleaning up the juju apiserver package, we want to be able
to map from juju errors to HTTP response status codes, and there are
some codes that we use but don't have equivalent juju errors. This PR
adds them.

(Review request: http://reviews.vapour.ws/r/2674/)

Owner

urosj commented Sep 16, 2015

👍

Owner

rogpeppe commented Sep 16, 2015

$$merge$$

Contributor

jujubot commented Sep 16, 2015

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju-errors

jujubot added a commit that referenced this pull request Sep 16, 2015

Merge pull request #21 from rogpeppe/002-more-errors
add bad request and method not allowed errors

As part of cleaning up the juju apiserver package, we want to be able
to map from juju errors to HTTP response status codes, and there are
some codes that we use but don't have equivalent juju errors. This PR
adds them.


(Review request: http://reviews.vapour.ws/r/2674/)

@jujubot jujubot merged commit 1b5e39b into juju:master Sep 16, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment