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
IO(IOError)
There was an IO error sending the command/receiving the result
KeyNotFound
The requested key was not found in way-cooler's API
InvalidKey
The requested key was of the wrong type (i.e. asked to set a command instead of run)
UnknownError(Json)
An unknown error occurred, such as the library sending an invalid request. Check that way-cooler is using the right version