aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Anthony Nowell <anowell@gmail.com>2017-08-28 18:17:11 -0600
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-08-29 09:28:56 +0200
commit2fe5cfa99862e25ece098c7379d71532c408d388 (patch)
treec0a520b64a8001717d08fff5ce8e512866d3207b
parent9f3b590206e3dfe33b7129b1c8ff010f60318cf2 (diff)
downloadaskama-2fe5cfa99862e25ece098c7379d71532c408d388.tar.gz
askama-2fe5cfa99862e25ece098c7379d71532c408d388.tar.bz2
askama-2fe5cfa99862e25ece098c7379d71532c408d388.zip
Export Error type
-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;