mirror of
https://github.com/mbilker/kbinxml-rs.git
synced 2026-09-08 10:35:32 -05:00
error: add error kind for a type mismatch when writing tuples
This commit is contained in:
@@ -98,6 +98,9 @@ pub enum KbinErrorKind {
|
||||
|
||||
#[fail(display = "Missing type hint where one is required")]
|
||||
MissingTypeHint,
|
||||
|
||||
#[fail(display = "Type mismatch, expected: {}, found: {}", _0, _1)]
|
||||
TypeMismatch(KbinType, KbinType),
|
||||
}
|
||||
|
||||
impl fmt::Display for KbinError {
|
||||
|
||||
Reference in New Issue
Block a user