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
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>
Failed to reload new version
Trait Implementations
impl<PersistError> Error for RenderError<PersistError> where
PersistError: 'static + Error + Send + Sync,
HistoryError<PersistError>: 'static,
HistoryError<PersistError>: Error,
UpdateError<PersistError>: 'static,
UpdateError<PersistError>: Error,
RenderError<PersistError>: Debug,
RenderError<PersistError>: Display,
impl<PersistError> Error for RenderError<PersistError> where
PersistError: 'static + Error + Send + Sync,
HistoryError<PersistError>: 'static,
HistoryError<PersistError>: Error,
UpdateError<PersistError>: 'static,
UpdateError<PersistError>: Error,
RenderError<PersistError>: Debug,
RenderError<PersistError>: Display,
Performs the conversion.
impl<PersistError> From<HistoryError<PersistError>> for RenderError<PersistError> where
PersistError: 'static + Error + Send + Sync,
impl<PersistError> From<HistoryError<PersistError>> for RenderError<PersistError> where
PersistError: 'static + Error + Send + Sync,
Performs the conversion.
Performs the conversion.
impl<PersistError> From<RenderError> for RenderError<PersistError> where
PersistError: 'static + Error + Send + Sync,
impl<PersistError> From<RenderError> for RenderError<PersistError> where
PersistError: 'static + Error + Send + Sync,
Performs the conversion.
impl<PersistError> From<UpdateError<PersistError>> for RenderError<PersistError> where
PersistError: 'static + Error + Send + Sync,
impl<PersistError> From<UpdateError<PersistError>> for RenderError<PersistError> where
PersistError: 'static + Error + Send + Sync,
Performs the conversion.