mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 11:49:53 -05:00
### Does this PR have any customer impact? No ### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc) Features ### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes) No ### Are you introducing any new config? If yes, do you have tests with and without them being set? ### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md)) ### Description Add code generated helper function to convert helio errors to mongo error codes. ---- #### AI description (iteration 1) #### PR Classification New feature #### PR Summary This pull request introduces a new helper function to convert Helio error codes to Mongo error codes. - Added `helio_errors.c` to implement the conversion logic. - Updated `generate_error_values.sh` to generate the new conversion file. - Modified `Makefile` to include the new conversion file in the build process. - Updated `helio_errors.h` to declare the new conversion function.