Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2022-01-28 | Implement error propagation expression: `?` (#590) | René Kijewski | 1 | -0/+69 | |
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. |