[][src]Enum celery::ErrorKind

pub enum ErrorKind {
    TaskAlreadyExists(String),
    BrokerError(Error),
    SerializationError(Error),
    AMQPMessageParseError(String),
    UnknownQueueError(String),
    ExpectedError(String),
    UnexpectedError(String),
}

Error kinds that can occur while using celery.

Variants

TaskAlreadyExists(String)

You tried to register a task but a task by that name already exists.

BrokerError(Error)

Any type of error that can happen at the Broker level.

SerializationError(Error)

An error occured while serializing or deserializing.

AMQPMessageParseError(String)

A consumed delivery was in an unknown format.

UnknownQueueError(String)

The queue you're attempting to use has not been defined.

ExpectedError(String)

An error that is expected to happen every once in a while and should trigger be the task to be retried without causes a fit.

UnexpectedError(String)

Should be used when a task encounters an error that is unexpected.

Trait Implementations

impl Debug for ErrorKind[src]

impl Display for ErrorKind[src]

impl Fail for ErrorKind[src]

impl From<ErrorKind> for Error[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsFail for T where
    T: Fail
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<E> Fail for E where
    E: 'static + Error + Send + Sync
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,