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:
parent
d31ec28aa8
commit
ae427849d5
1 changed files with 8 additions and 0 deletions
|
@ -108,6 +108,14 @@ pub use errors::{
|
||||||
MentatError,
|
MentatError,
|
||||||
Result,
|
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 conn;
|
||||||
pub mod entity_builder;
|
pub mod entity_builder;
|
||||||
pub mod query;
|
pub mod query;
|
||||||
|
|
Loading…
Reference in a new issue