Repository navigation
Correct typo in ERROR_PRIVILEGED_REQUEST - #2377
Open
bramoosterhuis wants to merge 5 commits into
Open
bramoosterhuis wants to merge 5 commits into
bramoosterhuis wants to merge 5 commits into
Conversation
Fix typo in ERROR_PRIVILEGED_REQUEST definition and add alias.
bramoosterhuis
requested review from
MFransen69
and
a balanced review from Copilot
December 5, 2026 11:32
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The alias in Errors.h is declared before ErrorCodes and ERROR_PRIVILEGED_REQUEST, causing compilation failures when the header is included.
1 open issue
What changed in this PR
Corrects a core error-code spelling while preserving the old name for compatibility.
Changes:
- Renames the error to
ERROR_PRIVILEGED_REQUEST, retaining value 24. - Adds an alias for the misspelled name.
| File | Description |
|---|---|
| Source/core/Errors.h | Corrects the error name and adds a compatibility alias. |
Review effort: Balanced
Mark ERROR_PRIVILIGED_REQUEST as deprecated for clarity.
MFransen69
approved these changes
Dec 5, 2026
MFransen69
requested changes
Dec 5, 2026
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The namespace-level alias breaks compilation for existing Core::ErrorCodes::ERROR_PRIVILIGED_REQUEST references and must remain inside ErrorCodes to preserve compatibility.
1 open issue
1 resolved since last review
Review effort: Balanced
MFransen69
approved these changes
Dec 6, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Fix typo in ERROR_PRIVILEGED_REQUEST definition and add alias.