vogievetsky commented on code in PR #14540:
URL: https://github.com/apache/druid/pull/14540#discussion_r1263698719
##########
web-console/src/utils/druid-query.ts:
##########
@@ -27,9 +27,27 @@ import type { RowColumn } from './query-cursor';
const CANCELED_MESSAGE = 'Query canceled by user.';
-export interface DruidErrorResponse {
+export type ErrorResponsePersona = 'USER' | 'ADMIN' | 'OPERATOR' | 'DEVELOPER';
+export type ErrorResponseCategory =
+ | 'DEFENSIVE'
+ | 'INVALID_INPUT'
+ | 'UNAUTHORIZED'
Review Comment:
Oh, I took that list from here
https://github.com/apache/druid/blob/master/processing/src/main/java/org/apache/druid/error/ErrorResponse.java#L43
but I guess I should have gone to the definition instead. Updated.
--
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]