aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--askama/src/lib.rs2
-rw-r--r--askama_shared/src/lib.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/askama/src/lib.rs b/askama/src/lib.rs
index 25dff78..a2193d6 100644
--- a/askama/src/lib.rs
+++ b/askama/src/lib.rs
@@ -235,7 +235,7 @@ pub trait Template {
pub use shared::filters;
pub use askama_derive::*;
-pub use shared::Result;
+pub use shared::{Error, Result};
#[cfg(feature = "with-iron")]
pub mod iron {
diff --git a/askama_shared/src/lib.rs b/askama_shared/src/lib.rs
index 1ee19cf..301ca13 100644
--- a/askama_shared/src/lib.rs
+++ b/askama_shared/src/lib.rs
@@ -10,7 +10,7 @@ extern crate serde;
#[cfg(feature = "serde-json")]
extern crate serde_json;
-pub use errors::Result;
+pub use errors::{Error, Result};
pub mod filters;
pub mod path;
pub use parser::parse;