mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 11:49:53 -05:00
### Does this PR have any customer impact? ### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc) ### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes) ### 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 [OSS] Port more error codes to OSS ---- #### AI description (iteration 1) #### PR Classification Code cleanup #### PR Summary This pull request ports error codes from MongoDB-specific codes to Helio-specific codes in the OSS project. - `bson_json_schema_tree.c`: Replaced `Mongo` error codes with `ERRCODE_HELIO` equivalents. - `bson_json_schema_validator.c`: Updated error code references to `ERRCODE_HELIO`. - `collection.c`, `index.c`, `bson_gin_core.c`, `bson_gin_entrypoint.c`, `bson_gist_geospatial.c`, `bson_hashed_gin.c`, `bson_text_gin.c`, `gin_index_term.c`, `index_support.c`, `rum_exclusion.c`: Changed error code includes from `mongo_errors.h` to `helio_errors.h`. - Removed `mongo_errors.h` include from `bson_gin_elemmatch.c`.