-
Notifications
You must be signed in to change notification settings - Fork 24
Batch 11 of #2285: convert ErroCodeV1s to RequestExceptions
#2320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
📈 Unit Test Coverage Delta vs Main Branch
|
Unit Test Coverage Report
|
📉 Integration Test Coverage Delta vs Main Branch (hcd-it)
|
Integration Test Coverage Report (hcd-it)
|
📉 Integration Test Coverage Delta vs Main Branch (dse69-it)
|
Integration Test Coverage Report (dse69-it)
|
| Resend command with valid value. | ||
| - scope: | ||
| code: COMMAND_FIELD_UNKNOWN |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's the difference between "COMMAND_FIELD_INVALID" and "COMMAND_FIELD_UNKNOWN"? Can we combine them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me check, good question.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah. So, COMMAND_FIELD_INVALID really needs to be COMMAND_FIELD_VALUE_INVALID -- so it's value of a (known) field that is somehow wrong vs COMMAND_FIELD_UNKNOWN where field name itself is unrecognized.
I will rename the code to better reflect this.
Good catch!
What this PR does:
Converts Request-specific
ErrorCodeV1s toRequestException.CodesWhich issue(s) this PR fixes:
Part of #2285
Checklist