-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor code and handle parsing exceptions
A refactor that includes an exception handling mechanism has been implemented in the CodeLang and Main files. The XML method in CodeLang has been simplified, and the allowed languages in the dropdown menu now load from an array in the Main file. Furthermore, an additional layer of safety has been added to code parser via a try-catch providing default behaviour in case any exception occurs.
- Loading branch information
jacobrein
committed
Apr 25, 2024
1 parent
bf391e9
commit ff3837f
Showing
2 changed files
with
33 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters