Enum way_cooler_ipc::CommandError [] [src]

pub enum CommandError {
    IO(IOError),
    KeyNotFound,
    InvalidKey,
    UnknownError(Json),
}

Return types from the command socket for erroneous command queries

Variants

There was an IO error sending the command/receiving the result

The requested key was not found in way-cooler's API

The requested key was of the wrong type (i.e. asked to set a command instead of run)

An unknown error occurred, such as the library sending an invalid request. Check that way-cooler is using the right version