[][src]Enum transistor::types::error::CruxError

pub enum CruxError {
    ParseEdnError(String),
    DeserializeError(String),
    IterError(String),
    RequestError(Error),
    BadResponse(String),
    ResponseFailed(String),
    QueryError(String),
    QueryFormatError(String),
    TxLogActionError(String),
}

Main error type for transistor crate

Variants

ParseEdnError(String)

Error originated by edn_rs crate. The provided EDN did not match schema.

DeserializeError(String)

Error originated by edn_rs crate. There was an error on deserializing an Edn to a struct.

IterError(String)

Error originated by edn_rs crate. There was an error on iterating over an Edn structure.

RequestError(Error)

Error originated by reqwest crate. Failed to make HTTP request.

BadResponse(String)

Error originated by reqwest crate. Failed to make HTTP request.

ResponseFailed(String)

Error originated by undefined behavior when parsing Crux response.

QueryError(String)

Query response error, most likely a Clojure stacktrace from Crux response.

QueryFormatError(String)

Provided Query struct did not match schema.

TxLogActionError(String)

Provided Actions cannot be empty.

Trait Implementations

impl Debug for CruxError[src]

impl Display for CruxError[src]

impl Error for CruxError[src]

impl From<Error> for CruxError[src]

impl From<Error> for CruxError[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

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.