ckb-error 1.1.0

Underlying error types used over ckb crates
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::{
    Error, InternalError, InternalErrorKind, impl_error_conversion_with_adaptor,
    impl_error_conversion_with_kind,
};

impl_error_conversion_with_kind!(
    ckb_occupied_capacity::Error,
    InternalErrorKind::CapacityOverflow,
    InternalError
);
impl_error_conversion_with_adaptor!(ckb_occupied_capacity::Error, InternalError, Error);