scanner/error: add variant InvalidKey
for catching cases where a key was given but not valid, typically involving explicit keys ('?')
This commit is contained in:
parent
76be7001bb
commit
4c61af7eb9
|
@ -42,6 +42,9 @@ pub enum ScanError
|
|||
/// A block entry was not expected or allowed
|
||||
InvalidBlockEntry,
|
||||
|
||||
/// A mapping key was not expected or allowed
|
||||
InvalidKey,
|
||||
|
||||
/// A mapping value was not expected or allowed
|
||||
InvalidValue,
|
||||
|
||||
|
|
Loading…
Reference in a new issue