Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
rcp: simplify serverError type #4357
Conversation
|
$$JFDI$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
added a commit
that referenced
this pull request
Feb 10, 2016
jujubot
merged commit 2c11d4b
into
juju:master
Feb 10, 2016
davecheney
deleted the
davecheney:rpc-simplify-server-error
branch
Feb 10, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
davecheney commentedFeb 9, 2016
serverError was over compliated. It did not need to inherit from
requestError, and the way it did was overengineered. serverError just
needs to extend the error interface to match the ErrorCoder interface,
and as serverError only knows one status code, we can hard code that as
well.
(Review request: http://reviews.vapour.ws/r/3802/)