Enum emerald_rs::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
[src]
Performs the conversion.
impl From<Error> for Error
[src]
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more