[2pt] Document new Lua style rule about exceptions
Open
@Mons is already working on this.
Since Dec 23, 2020.
dev
guidelines
- Dominant language
- CSS
- Stars
- 15
- Forks
- 49
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 3
Description
Audience/target: Tarantool developers
Root document: https://www.tarantool.io/en/doc/latest/dev_guide/lua_style_guide/
@Mons has decided, that all Lua functions should now throw errors instead of returning them as nil, err like before. On the other hand, he says this is only for Tarantool functions. Not for module functions.
That does not affect any of the existing functions, and is only a rule for the new ones. Must be added to Lua style guide.
I don't know motivation behind this though. Suggest to ask @Mons.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.