3
import "launchpad.net/juju-core/rpc"
6
ServerError = serverError
8
ErrBadCreds = errBadCreds
10
ErrNotLoggedIn = errNotLoggedIn
11
ErrUnknownWatcher = errUnknownWatcher
12
ErrStoppedWatcher = errStoppedWatcher
15
// RPCClient returns the RPC client for the state, so that testing
16
// functions can tickle parts of the API that the conventional entry
17
// points don't reach.
18
func RPCClient(st *State) *rpc.Client {