Enum foxbox_thinkerbell::manager::Error [] [src]

pub enum Error {
    NoSuchScriptError,
    SQLError(String),
    RunError(RunError),
    ParseError(String),
}

A ScriptManager error.

Variants

NoSuchScriptError

The script you requested (by ID) does not exist.

SQLError

There was an error executing some SQL.

RunError

There was an error attempting to run a script. (See run.rs.)

ParseError

There was an error parsing the script's JSON.

Trait Implementations

impl Serialize for Error

fn serialize<__S>(&self, serializer: &mut __S) -> Result<(), __S::Error> where __S: Serializer

impl From<Error> for Error

fn from(err: Error) -> Error

impl From<RunError> for Error

fn from(err: RunError) -> Error

impl From<ParseError> for Error

fn from(err: ParseError) -> Error

Derived Implementations

impl Debug for Error

fn fmt(&self, __arg_0: &mut Formatter) -> Result