error: make InvalidNodeType's message more general

This commit is contained in:
Matt Bilker
2018-09-06 07:01:25 +00:00
parent 073d6b16ee
commit a7fd702f89

View File

@@ -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")]