Skip to content

Update error code Python script #3595

@keerlu

Description

@keerlu

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

Metadata

Metadata

Labels

type/docsDocumentation creation, updates or corrections

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions