Enum sc2::ErrorKind []

pub enum ErrorKind {
    Msg(String),
    Organelle(ErrorKind),
    Io(Error),
    UrlParseError(ParseError),
    Protobuf(ProtobufError),
    ExeNotSpecified,
    ExeDoesNotExist(PathBuf),
    ClientOpenFailed,
    ClientSendFailed,
    ClientRecvFailed,
    ClientCloseFailed,
    GameErrors(Vec<String>),
    AgentError,
    InvalidProtobuf(String),
    // some variants omitted
}

The kind of an error.

Variants

A convenient variant for String.

organelle glue

link io errors

link to url parse errors

link to protobuf errors

exe was not supplied to the coordinator

exe supplied to the coordinator does not exist

client failed to open connection to the game instance

client failed to send a message to the game instance

client failed to receive a message from the game instance

client failed to initiate close handshake

errors received from game instance

an error occurred in agent callback

invalid protobuf data from game instance

Methods

impl ErrorKind

A string describing the error kind.

Trait Implementations

impl Debug for ErrorKind

Formats the value using the given formatter.

impl Display for ErrorKind

Formats the value using the given formatter. Read more

impl From<ErrorKind> for ErrorKind

organelle glue

Performs the conversion.

impl<'a> From<&'a str> for ErrorKind

Performs the conversion.

impl From<String> for ErrorKind

Performs the conversion.

impl From<Error> for ErrorKind

Performs the conversion.