Enum emerald_core::Error
[−]
[src]
pub enum Error { InvalidLength(usize), InvalidHexLength(String), UnexpectedHexEncoding(FromHexError), EcdsaCrypto(Error), }
Core domain logic errors
Variants
InvalidLength(usize)
An invalid length
InvalidHexLength(String)
An unexpected hexadecimal prefix (should be '0x')
UnexpectedHexEncoding(FromHexError)
An unexpected hexadecimal encoding
EcdsaCrypto(Error)
ECDSA crypto error
Trait Implementations
impl Debug for Error
[src]
impl From<FromHexError> for Error
[src]
fn from(err: FromHexError) -> Self
Performs the conversion.