|
|
|
@ -63,6 +63,12 @@ impl From<String> for Rear {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
impl From<&str> for Rear {
|
|
|
|
|
fn from(error: &str) -> Self {
|
|
|
|
|
Self { message: error.to_string(), error: error.into() }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#[cfg(feature = "askama")]
|
|
|
|
|
impl From<askama::Error> for Rear {
|
|
|
|
|
fn from(error: askama::Error) -> Self {
|
|
|
|
|