Merge pull request #1525 from ethcore/client-api-refact2

Client API refactoring - limiting errors to crate-level error types
This commit is contained in:
Nikolay Volf
2016-07-05 12:15:38 +04:00
committed by GitHub
13 changed files with 161 additions and 41 deletions

View File

@@ -101,7 +101,7 @@ impl<T: fmt::Debug + fmt::Display> fmt::Display for Mismatch<T> {
}
}
#[derive(Debug, PartialEq, Eq)]
#[derive(Debug, PartialEq, Eq, Clone)]
/// Error indicating value found is outside of a valid range.
pub struct OutOfBounds<T: fmt::Debug> {
/// Minimum allowed value.