Enum background_jobs_core::JobError
source · pub enum JobError {
Processing(Error),
Json,
MissingProcessor,
}
Expand description
The error type returned by a Processor
’s process
method
Variants§
Processing(Error)
Some error occurred while processing the job
Json
Creating a Job
type from the provided serde_json::Value
failed
MissingProcessor
No processor was present to handle a given job
Trait Implementations§
source§impl Fail for JobError
impl Fail for JobError
source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read more