morningman commented on code in PR #33347:
URL: https://github.com/apache/doris/pull/33347#discussion_r1562338247
##########
fe/fe-core/src/main/java/org/apache/doris/common/ErrorCode.java:
##########
@@ -73,7 +73,13 @@ public enum ErrorCode {
ERR_USER_LIMIT_REACHED(1226, new byte[]{'4', '2', '0', '0', '0'}, "User
'%s' has exceeded the '%s' resource "
+ "(current value: %d)"),
ERR_SPECIFIC_ACCESS_DENIED_ERROR(1227, new byte[]{'4', '2', '0', '0',
'0'}, "Access denied; you need (at least "
- + "one of) the %s privilege(s) for this operation"),
+ + "one of) the (%s) privilege(s) for this operation"),
+ ERR_DB_ACCESS_DENIED_ERROR(1227, new byte[]{'4', '2', '0', '0', '0'},
"Access denied; you need (at least "
Review Comment:
Better using a new error code(not 1227) for new error msg
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]