~bac/juju-core/add-config

Viewing all changes in revision 893.

rpc, state/api: consistent errors.

It helps to close the right thing, and there's probably
no point in sending a message to the server when it's
about to be closed.

Not easy to test, unfortunately, as triggering the
different error message involves catching the input
goroutine in just the right place.

R=
CC=
https://codereview.appspot.com/7324054

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: