diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2019-04-11 16:41:15 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2019-04-15 15:17:28 +0200 |
| commit | 2fa4fc319fbe5271c733bb0ff1180efc73d55c2b (patch) | |
| tree | 2b5921aeb53753e6c0c96b1f165523a7739b1a03 /mullvad-ipc-client/src | |
| parent | b7fa77843763122e5f0355d606e265e23e3a97b6 (diff) | |
| download | mullvadvpn-2fa4fc319fbe5271c733bb0ff1180efc73d55c2b.tar.xz mullvadvpn-2fa4fc319fbe5271c733bb0ff1180efc73d55c2b.zip | |
Convert errors in CLI away from error-chain
Diffstat (limited to 'mullvad-ipc-client/src')
| -rw-r--r-- | mullvad-ipc-client/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mullvad-ipc-client/src/lib.rs b/mullvad-ipc-client/src/lib.rs index 22c0b0d707..1c7433a6f9 100644 --- a/mullvad-ipc-client/src/lib.rs +++ b/mullvad-ipc-client/src/lib.rs @@ -23,6 +23,7 @@ static NO_ARGS: [u8; 0] = []; pub type Result<T> = std::result::Result<T, jsonrpc_client_core::Error>; pub use jsonrpc_client_core::Error; +pub use jsonrpc_client_pubsub::Error as PubSubError; pub fn new_standalone_ipc_client(path: &impl AsRef<Path>) -> io::Result<DaemonRpcClient> { let path = path.as_ref().to_string_lossy().to_string(); |
