Error

Type Alias Error 

Source
pub type Error = RpcError;
Expand description

The crate’s error type.

Aliased Type§

pub enum Error {
Show 17 variants AddrParseError(AddrParseError), UuidParseError(String, Error), TransportError(Error), InternalError(String), NoInherentData, TypeConversion, InvalidComponentKind(i32), Component(String), MissingFeatures, Operation(String), SendError, General(String), Deserialization(String), Internal(&'static str), ConfigEmpty, StateMissing, InvalidSignature,
}

Variants§

§

AddrParseError(AddrParseError)

Error during the parsing of an IP address and port.

§

UuidParseError(String, Error)

Error parsing a UUID.

§

TransportError(Error)

Upstream error from Tonic.

§

InternalError(String)

Internal Error.

§

NoInherentData

No inherent data found in RPC message.

§

TypeConversion

Conversion error between types.

§

InvalidComponentKind(i32)

Invalid ComponentKind.

§

Component(String)

Error used by components.

§

MissingFeatures

Component did not include a supported feature list.

§

Operation(String)

Error generated by a component’s operations.

§

SendError

Error sending output to channel.

§

General(String)

General Error.

§

Deserialization(String)

Deserialization Failed.

§

Internal(&'static str)

Error caused by an internal inconsistency.

§

ConfigEmpty

Configuration for invocation was empty.

§

StateMissing

Configuration for invocation was empty.

§

InvalidSignature

Invalid Type Signature.