Add error type
This commit is contained in:
parent
cdedec4d3f
commit
917e4bac5e
@ -18,6 +18,12 @@ pub enum ErrorKind {
|
|||||||
Parse,
|
Parse,
|
||||||
#[fail(display = "Preprocess error")]
|
#[fail(display = "Preprocess error")]
|
||||||
Preprocess,
|
Preprocess,
|
||||||
|
#[fail(display = "Define argument not found: {}", _0)]
|
||||||
|
DefineArgNotFound(String),
|
||||||
|
#[fail(display = "Define text not found: {}", _0)]
|
||||||
|
DefineTextNotFound(String),
|
||||||
|
#[fail(display = "Define text not found: {}", _0)]
|
||||||
|
DefineNotFound(String),
|
||||||
}
|
}
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user