Enum feattle::RenderError[][src]

pub enum RenderError<PersistError> where
    PersistError: 'static + Error + Send + Sync
{ NotFound, Template(RenderError), Serialization(Error), History(HistoryError<PersistError>), Update(UpdateError<PersistError>), Reload(PersistError), }
Expand description

Represent what can go wrong while handling a request

Variants

NotFound

The requested page does not exist

Template(RenderError)

The template failed to render

Tuple Fields of Template

0: RenderError
Serialization(Error)

Failed to serialize or deserialize JSON

Tuple Fields of Serialization

0: Error
History(HistoryError<PersistError>)

Failed to recover history information

Tuple Fields of History

0: HistoryError<PersistError>
Update(UpdateError<PersistError>)

Failed to update value

Tuple Fields of Update

0: UpdateError<PersistError>
Reload(PersistError)

Failed to reload new version

Tuple Fields of Reload

0: PersistError

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.