(error: Error)
| 40 | |
| 41 | impl From<Error> for RpcError { |
| 42 | fn from(error: Error) -> Self { |
| 43 | match error { |
| 44 | Error::InvalidOpeningFeeParams => RpcError::invalid_opening_fee_params(error), |
| 45 | Error::PaymentSizeTooSmall => RpcError::payment_size_too_small(error), |
| 46 | Error::PaymentSizeTooLarge => RpcError::payment_size_too_large(error), |
| 47 | } |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | impl core::error::Error for Error {} |
nothing calls this directly
no outgoing calls
no test coverage detected