Enum tera::ErrorKind
[−]
pub enum ErrorKind {
Msg(String),
Json(Error),
}The kind of an error.
Variants
Msg(String)A convenient variant for String.
Json(Error)An error happened while serializing JSON
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.