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

Add Meal.error(edible, message) edible #6

Closed
Magnogen opened this issue Apr 3, 2022 · 1 comment
Closed

Add Meal.error(edible, message) edible #6

Magnogen opened this issue Apr 3, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@Magnogen
Copy link
Owner

Magnogen commented Apr 3, 2022

Saw something like this on https://craftinginterpreters.com - it'd be very helpful for making compile errors, rather than runtime errors that you can currently make with Meal.map().

Would it throw the message as a custom error, or take another errorType argument? 🤔

@Magnogen Magnogen added enhancement New feature or request question Further information is requested labels Apr 3, 2022
@Magnogen Magnogen self-assigned this Apr 3, 2022
@Magnogen
Copy link
Owner Author

Magnogen commented Apr 4, 2022

Done!

@Magnogen Magnogen closed this as completed Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant