aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src/error.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-06-08Merge askama_derive into askamaLibravatar René Kijewski1-95/+0
2022-03-28Implement std::error::Error::sourceLibravatar René Kijewski1-4/+4
Error::cause() is deprecated since Rust 1.33.
2022-01-28 Implement error propagation expression: `?` (#590)Libravatar René Kijewski1-5/+10
This change allows using the operator `?` in askama expressions. It works like the same operator in Rust: if a `Result` is `Ok`, it is unwrapped. If it is an error, then the `render()` method fails with this error value.
2020-05-17Remove now unused match armsLibravatar Dirkjan Ochtman1-2/+0
2020-05-17Properly annotate non-exhaustive enumLibravatar Dirkjan Ochtman1-6/+1
2020-01-29Error::description() will be deprecated soonLibravatar Dirkjan Ochtman1-12/+2
2019-01-17Add optional support for yaml filter (see #192)Libravatar Dirkjan Ochtman1-1/+15
2019-01-12Rename deprecate method Error::cause()Libravatar Dirkjan Ochtman1-2/+2
2018-12-08Use 2018 edition idiomsLibravatar Dirkjan Ochtman1-2/+2
2018-12-07Fix typo in serde_json featureLibravatar Dirkjan Ochtman1-6/+6
2018-06-21Fix formatting with cargo fmtLibravatar Dirkjan Ochtman1-9/+7
2018-06-04Converted error-chain based error to enum based errorLibravatar Philipp Korber1-0/+95
- now implements `Send` + `Sync` + `'static` - still implements `std::error::Error`, `Debug`, `Display`, `From<std::fmt::Error>`, `From<::serde_json::Error>`