scanner/error: add InvalidBlockEntry

This commit is contained in:
Paul Stemmet 2021-07-27 21:06:27 +00:00 committed by Paul Stemmet
parent e24fe38a7e
commit 5ec3d0ae2b
1 changed files with 3 additions and 0 deletions

View File

@ -39,6 +39,9 @@ pub enum ScanError
/// A flow scalar was invalid for some reason
InvalidFlowScalar,
/// A block entry was not expected or allowed
InvalidBlockEntry,
/// A character that was not valid for the escape
/// sequence was encountered
UnknownEscape,