iqkms_signing/
error.rs

1//! Error types.
2
3/// Error type.
4// TODO(tarcieri): convert this into an enum?
5#[derive(Clone, Debug)]
6pub struct Error;
7
8/// Result type with the `iqkms-signing` crate's [`Error`] type.
9pub type Result<T> = std::result::Result<T, Error>;
10
11#[cfg(feature = "ethereum")]
12impl From<types::Error> for Error {
13    fn from(_: types::Error) -> Error {
14        Error
15    }
16}