Enum shuttle_sdk::Error [] [src]

pub enum Error {
    UnsecureConnection,
    HttpError(Error),
    HttpParseError(UrlError),
    Core(Error),
    DeserializeError,
    Error,
}

Error type.

Variants

Error that can occur when connecting non secure horizon server.

Error that can occur when interacting with HTTP.

Error that can occur when parsing HTTP URL.

Error that originates from shuttle_core.

Errror that can occur when deserializing json.

Generic error

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<UrlError> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<()> for Error
[src]

[src]

Performs the conversion.