Enum cubist_proxy::FatalErr
source · pub enum FatalErr {
Channel(SendError),
WebSocket(Arc<WsError>),
InvalidURL(ParseError),
UriScheme(Option<String>),
Closed,
Wallet(Arc<WalletError>),
ReadSecretError(String),
}
Expand description
Failure of an entire pipeline.
Variants§
Channel(SendError)
Failed to write to mpsc channel
WebSocket(Arc<WsError>)
Failed to write to a WebSocket channel
InvalidURL(ParseError)
Failed to write to a WebSocket channel
UriScheme(Option<String>)
Unsupported Onchain URI scheme
Closed
Stream closed unexpectedly
Wallet(Arc<WalletError>)
Error creating wallet
ReadSecretError(String)
Error from cubist config (e.g., reading secrets)
Trait Implementations§
source§impl Error for FatalErr
impl Error for FatalErr
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ParseError> for FatalErr
impl From<ParseError> for FatalErr
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.