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

Fix confusing function throw #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

magtastic
Copy link

Fix confusing error thrown.

Previously the code was throwing a function that instantly threw an error.
Don't really know if it worked, since the function result might have been evaluated and resulted in the same error being thrown, but it was confusing.
Now it throws the specific error that was being thrown before, but in a more clear way.

@magtastic magtastic force-pushed the fix/throw_correct_error branch from e455b8f to a6ec428 Compare February 28, 2024 13:42
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