Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graceful Error Handling. #17

Merged
merged 6 commits into from
Dec 6, 2024
Merged

Graceful Error Handling. #17

merged 6 commits into from
Dec 6, 2024

Conversation

AlexLuo602
Copy link
Contributor

  • Added a class for error handling
  • handle_error gracefully returns an error message for a given language file
  • verify_languages will be used when syncing with api, will verify all languages in folder

@AlexLuo602 AlexLuo602 changed the title Added a more graceful error handling. Graceful Error Handling. Dec 3, 2024

"""
Used to handle an error from a language
Input: string: language_file (source of error), boolean: error_expected (is the error expected?)\
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the extra ''

@kevinrczhang kevinrczhang merged commit 64b4472 into main Dec 6, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants