Initial setup
This commit is contained in:
9
src/error.rs
Normal file
9
src/error.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
use thiserror::Error;
|
||||
|
||||
#[derive(Debug, Clone, Error)]
|
||||
pub enum Error {
|
||||
#[error("Undefined error")]
|
||||
Generic,
|
||||
}
|
||||
|
||||
type Result<T> = std::result::Result<T, Error>;
|
||||
Reference in New Issue
Block a user