|
unify rpc.IsNoSuchRequest and NoImplementedErr
Introducing CodeNotImplemented in params and rpc.
Now both rpc.NoSuchRequest and api.NotImplementedError
are serialized and handled as an error, satisfying
params.IsCodeNotImplemented(), so it can be checked
only once. Kept "no such request " prefix of the error
message for compatibility.
https://code.launchpad.net/~dimitern/juju-core/225-unify-not-implemented-errors/+merge/199336
Requires: https://code.launchpad.net/~dimitern/juju-core/225-upload-charm-via-api/+merge/199251
(do not edit description out of merge proposal)
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+93 lines, -64 lines) |
Patch |
 |
A |
[revision details]
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/addmachine.go
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/constraints.go
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/debughooks.go
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/destroymachine.go
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/environment.go
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/set.go
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/ssh.go
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/unset.go
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/upgradejuju.go
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
rpc/client.go
|
View
|
|
2 chunks |
+4 lines, -7 lines |
0 comments
|
Download
|
 |
M |
rpc/reflect_test.go
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
rpc/rpc_test.go
|
View
|
1
|
5 chunks |
+14 lines, -4 lines |
0 comments
|
Download
|
 |
M |
rpc/rpcreflect/value.go
|
View
|
1
|
2 chunks |
+21 lines, -2 lines |
0 comments
|
Download
|
 |
M |
rpc/server.go
|
View
|
1
|
3 chunks |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/api/client.go
|
View
|
1
2
|
2 chunks |
+5 lines, -27 lines |
0 comments
|
Download
|
 |
M |
state/api/client_test.go
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
state/api/params/apierror.go
|
View
|
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
Total messages: 3
|