juno
juno copied to clipboard
Document errors
Motivation
We now have a list of error constants in Rust and their counter part in JavaScript. To help developers understand what they mean, it would be nice to document those.
What to do
- Create Rust documentation - i.e. document all Rust constants and for each error try to summarize when those errors occur
- Ideally it would be nice to have a script that generate the JavaScript counter part from the Rust code but, if too tasky, let's just copy/paste the doc to Javascript
- Finally, document the error on the website. For this we definitely want to use a script, probably using the JavaScript as source
Relates with https://github.com/junobuild/docs/issues/315