8de9f36b69
* experimenting with extracting more common client code * drying up the wasm client * allowing some dead code for the time being * fixed formatting in nym-connect * made socks5 client inside nym-connect immutable * made clippy a bit happier * hidden away target locking for recv timeout
16 lines
460 B
Rust
16 lines
460 B
Rust
use client_core::error::ClientCoreError;
|
|
|
|
#[derive(thiserror::Error, Debug)]
|
|
pub enum ClientError {
|
|
#[error("client-core error: {0}")]
|
|
ClientCoreError(#[from] ClientCoreError),
|
|
|
|
#[error("Failed to load config for: {0}")]
|
|
FailedToLoadConfig(String),
|
|
#[error("Failed local version check, client and config mismatch")]
|
|
FailedLocalVersionCheck,
|
|
|
|
#[error("Attempted to start the client in invalid socket mode")]
|
|
InvalidSocketMode,
|
|
}
|