Skip to content

Commit

Permalink
fix type of exception
Browse files Browse the repository at this point in the history
  • Loading branch information
pit-ray committed Jun 9, 2023
1 parent af154dd commit 6b1bbd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/keycode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ namespace vind
code_ = table.name2code_[n] ;
}
else {
throw RUNTIME_EXCEPT(name + " is not supported.") ;
throw LOGIC_EXCEPT(name + " is not supported.") ;
}
}
}
Expand Down

0 comments on commit 6b1bbd2

Please sign in to comment.