mirror of
https://github.com/mbilker/kbinxml-rs.git
synced 2026-09-09 19:15:27 -05:00
error: make InvalidNodeType's message more general
This commit is contained in:
@@ -113,7 +113,7 @@ pub enum KbinErrorKind {
|
||||
#[fail(display = "Invalid input for boolean: {}", _0)]
|
||||
InvalidBooleanInput(u8),
|
||||
|
||||
#[fail(display = "Invalid node type to create `Node` object from: {:?}", _0)]
|
||||
#[fail(display = "Invalid node type for operation: {:?}", _0)]
|
||||
InvalidNodeType(StandardType),
|
||||
|
||||
#[fail(display = "Invalid state")]
|
||||
|
||||
Reference in New Issue
Block a user