juno icon indicating copy to clipboard operation
juno copied to clipboard

Document errors

Open peterpeterparker opened this issue 9 months ago • 1 comments

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

peterpeterparker avatar Mar 01 '25 08:03 peterpeterparker

Relates with https://github.com/junobuild/docs/issues/315

peterpeterparker avatar Jun 18 '25 07:06 peterpeterparker