raiden-blockchain 0.1.0

Raiden Network implementation in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use thiserror::Error;

/// The proxy error type.
#[derive(Error, Debug)]
pub enum ProxyError {
	#[error("Insufficient balance: `{0}`")]
	InsufficientEth(String),
	#[error("Broken precondition: `{0}`")]
	BrokenPrecondition(String),
	#[error(transparent)]
	Web3(#[from] web3::Error),
	#[error(transparent)]
	ChainError(#[from] web3::contract::Error),
	#[error("Recoverable error: `{0}`")]
	Recoverable(String),
	#[error("Unrecoverable error: `{0}`")]
	Unrecoverable(String),
}