exercism / lua

Exercism exercises in Lua.
https://exercism.org/tracks/lua
MIT License
41 stars 57 forks source link

Update instructions.md for Lua error handling #497

Closed RitchieFlick closed 3 months ago

RitchieFlick commented 3 months ago

The instructions did not mention that the use of the error keyword is required. In addition, following the Concepts up to this exercise did not mention the error keyword, as such additional instructions have been added.

496

Edit: https://forum.exercism.org/t/mentioning-of-the-error-keyword/12686

github-actions[bot] commented 3 months ago

Hello. Thanks for opening a PR on Exercism 🙂

We ask that all changes to Exercism are discussed on our Community Forum before being opened on GitHub. To enforce this, we automatically close all PRs that are submitted. That doesn't mean your PR is rejected but that we want the initial discussion about it to happen on our forum where a wide range of key contributors across the Exercism ecosystem can weigh in.

You can use this link to copy this into a new topic on the forum. If we decide the PR is appropriate, we'll reopen it and continue with it, so please don't delete your local branch.

If you're interested in learning more about this auto-responder, please read this blog post.


Note: If this PR has been pre-approved, please link back to this PR on the forum thread and a maintainer or staff member will reopen it.

glennj commented 3 months ago

Or assert() -- https://www.lua.org/manual/5.4/manual.html#pdf-assert

RitchieFlick commented 3 months ago

Or assert() -- https://www.lua.org/manual/5.4/manual.html#pdf-assert

I tried it and that works as well for the exercise, so I added this to the description.