ref, add tests
This commit is contained in:
7
src/err.rs
Normal file
7
src/err.rs
Normal file
@@ -0,0 +1,7 @@
|
||||
use err_derive::Error;
|
||||
|
||||
#[derive(Debug, Error)]
|
||||
pub enum ParseError {
|
||||
#[error(display = "error syntax: {:?}", _0)]
|
||||
ErrorSyntax(String),
|
||||
}
|
||||
Reference in New Issue
Block a user