docs
docs copied to clipboard
Update error code Python script
Currently we have this Python script that pulls in error codes from the prisma-engines repo and formats them for our Error Reference page.
At a minimum it would be nice to have a forked version of this script that is nicely commented with informative variable names, so it's easy to read and maintain.
There was also some discussion in this old PR (which I never finished, oops) about some information that is currently missing from the script and getting manually added, so if this is also easy to automate it would be good to include it.
Relevant old discussion: https://prisma-company.slack.com/archives/C5Z9TH6N9/p1646209993731929 Some instructions on running the script here
Yay for code comments. ;-)
Can we tweak the script to make it pull in PDP error codes, which are in private repo.
https://github.com/prisma/docs-tools/pull/41
The error code script has been rewritten. Closing this issue.