[][src]Enum tmkms::error::ErrorKind

pub enum ErrorKind {
    AccessError,
    ChainIdError,
    ConfigError,
    DoubleSign,
    ExceedMaxHeight,
    CryptoError,
    HookError,
    HttpError,
    InvalidKey,
    InvalidMessageError,
    IoError,
    PanicError,
    ParseError,
    PoisonError,
    ProtocolError,
    SerializationError,
    SigningError,
    StdtxError,
    TendermintError,
    VerificationError,
    YubihsmError,
}

Kinds of errors

Variants

AccessError

Access denied

ChainIdError

Invalid Chain ID

ConfigError

Error in configuration file

DoubleSign

Double sign attempted

ExceedMaxHeight

Request a signature above max height

CryptoError

Cryptographic operation failed

HookError

Error running a subcommand to update chain state

HttpError

Error making an HTTP request

InvalidKey

Malformatted or otherwise invalid cryptographic key

InvalidMessageError

Validation of consensus message failed

IoError

Input/output error

PanicError

KMS internal panic

ParseError

Parse error

PoisonError

KMS state has been poisoned

ProtocolError

Network protocol-related errors

SerializationError

Serialization error

SigningError

Signing operation failed

StdtxError

Error parsing/serializing a StdTx

TendermintError

Errors originating in the Tendermint crate

VerificationError

Verification operation failed

YubihsmError

YubiHSM-related errors

Implementations

impl ErrorKind[src]

pub fn context(self, source: impl Into<BoxError>) -> Context<ErrorKind>[src]

Create an error context from this error

Trait Implementations

impl Clone for ErrorKind[src]

impl Copy for ErrorKind[src]

impl Debug for ErrorKind[src]

impl Display for ErrorKind[src]

impl Eq for ErrorKind[src]

impl Error for ErrorKind[src]

impl From<ErrorKind> for Error[src]

impl PartialEq<ErrorKind> for ErrorKind[src]

impl StructuralEq for ErrorKind[src]

impl StructuralPartialEq for ErrorKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsAny for T where
    T: Any
[src]

impl<T> AsFail for T where
    T: Fail, 

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> Erased for T

impl<E> Fail for E where
    E: 'static + Error + Send + Sync

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,