mirror of
https://github.com/loot/loot-condition-interpreter.git
synced 2026-07-27 14:16:09 -07:00
Add context to Error::ParsingIncomplete
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ pub fn handle_error(err: Error) -> c_int {
|
||||
|
||||
fn map_error(err: &Error) -> c_int {
|
||||
match err {
|
||||
Error::ParsingIncomplete => LCI_ERROR_PARSING_ERROR,
|
||||
Error::ParsingIncomplete(_) => LCI_ERROR_PARSING_ERROR,
|
||||
Error::UnconsumedInput(_) => LCI_ERROR_PARSING_ERROR,
|
||||
Error::ParsingError(_, _) => LCI_ERROR_PARSING_ERROR,
|
||||
Error::PeParsingError(_, _) => LCI_ERROR_PE_PARSING_ERROR,
|
||||
|
||||
Reference in New Issue
Block a user