mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-06-01 09:42:41 +00:00
[Crate] Separate error code into different files.
This commit is contained in:
parent
edbb0e6cf5
commit
995ab23b51
4 changed files with 115 additions and 90 deletions
12
src/errors/mod.rs
Normal file
12
src/errors/mod.rs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
//! Every GameDig errors.
|
||||
|
||||
/// The Error with backtrace.
|
||||
pub mod error;
|
||||
/// All defined Error kinds.
|
||||
pub mod kind;
|
||||
/// `GDResult`, a shorthand of `Result<T, GDError>`.
|
||||
pub mod result;
|
||||
|
||||
pub use error::*;
|
||||
pub use kind::*;
|
||||
pub use result::*;
|
||||
Loading…
Add table
Add a link
Reference in a new issue