Expose sub-crate *Error types at top-level.

We're not exposing a uniform API with `mentat::Result` yet, meaning
that early consumers (e.g., the logins work for Mozilla Lockbox) need
to wrap errors from all over the Mentat crate hierarchy.
This commit is contained in:
Nick Alexander 2018-06-27 14:05:41 -07:00
parent d31ec28aa8
commit ae427849d5

View file

@ -108,6 +108,14 @@ pub use errors::{
MentatError,
Result,
};
pub use edn::ParseError;
pub use mentat_db::DbError;
pub use mentat_query_algebrizer::AlgebrizerError;
pub use mentat_query_projector::ProjectorError;
pub use mentat_query_pull::PullError;
pub use mentat_sql::SQLError;
pub mod conn;
pub mod entity_builder;
pub mod query;