pub enum BatchError {
Show 22 variants
JobNotFound(String),
InvalidJobConfig(String),
DatabaseError(String),
IoError(Error),
SerializationError(Error),
TemplateError(String),
ExecutionError(String),
WorkerError(String),
QueueError(String),
ScriptError(String),
WatchError(String),
ApiError(String),
ValidationError(String),
DependencyError(String),
ResourceError(String),
RetryExhausted(String),
Cancelled(String),
Timeout(String),
PatternError(String),
FileOperationError(String),
MediaOperationError(String),
IntegrationError(String),
}Expand description
Batch processing errors
Variants§
JobNotFound(String)
Job not found
InvalidJobConfig(String)
Invalid job configuration
DatabaseError(String)
Database error (non-sqlite or wasm32 variant)
IoError(Error)
I/O error
SerializationError(Error)
Serialization error
TemplateError(String)
Template error
ExecutionError(String)
Execution error
WorkerError(String)
Worker error
QueueError(String)
Queue error
ScriptError(String)
Script error
WatchError(String)
Watch folder error
ApiError(String)
API error
ValidationError(String)
Validation error
DependencyError(String)
Dependency error
ResourceError(String)
Resource allocation error
RetryExhausted(String)
Retry exhausted
Cancelled(String)
Cancelled
Timeout(String)
Timeout
PatternError(String)
Pattern matching error
FileOperationError(String)
File operation error
MediaOperationError(String)
Media operation error
IntegrationError(String)
Integration error
Trait Implementations§
Source§impl Debug for BatchError
impl Debug for BatchError
Source§impl Display for BatchError
impl Display for BatchError
Source§impl Error for BatchError
impl Error for BatchError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<Error> for BatchError
impl From<Error> for BatchError
Source§impl From<Error> for BatchError
impl From<Error> for BatchError
Source§impl From<Error> for BatchError
Available on non-WebAssembly only.
impl From<Error> for BatchError
Available on non-WebAssembly only.
Source§impl From<Error> for BatchError
impl From<Error> for BatchError
Source§impl From<Error> for BatchError
impl From<Error> for BatchError
Source§impl From<PatternError> for BatchError
impl From<PatternError> for BatchError
Source§fn from(err: PatternError) -> Self
fn from(err: PatternError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for BatchError
impl !UnwindSafe for BatchError
impl Freeze for BatchError
impl Send for BatchError
impl Sync for BatchError
impl Unpin for BatchError
impl UnsafeUnpin for BatchError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more