-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create query_error_test.rs * Create query_error.rs * Update lib.rs
- Loading branch information
1 parent
8492bde
commit b48845d
Showing
3 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
mod db; | ||
mod query; | ||
mod query_error; | ||
mod query_result; | ||
mod transaction; | ||
|
||
pub use db::Db; | ||
pub use query::Query; | ||
pub use query_error::QueryError; | ||
pub use query_result::QueryResult; | ||
pub use transaction::Transaction; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#[derive(Default)] | ||
pub struct QueryError {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
extern crate agdb; | ||
|
||
#[test] | ||
fn query_error_is_public_type() { | ||
let _error = agdb::QueryError::default(); | ||
} |