Justin Jung
Justin Jung
Yup, we also think that similar API should exist for modals and popups. It's in our roadmap, but not the highest priority at the moment. Hopefully we will get to...
That's a great point. We'll consider it when we design the API.
@afhassan could you fix the DCO that's failing?
@jesusvazquez could you take a look when you get a chance?
@alanprot could you take a look as well when you have a chance?
Thank you @machine424 for taking a look. To avoid the traversals, would you be more willing to have a struct that contains error code and error chain (and make it...
Added new struct ``` type errorWithStatusCode struct { statusCode int err error } ``` and downstream components (prometheus dependencies) can do the following to specify HTTP error code on engine...
I'm a Cortex user, and I'd like to implement different throttling mechanisms on queryables where I want to return error code other than 422. For example, if the data layer...
I believe another option is to add a new field in the `API` struct that contains an error code override function, but only applicable to `errorExec` type. Please let me...
- Created `ErrorTypeToStatusCode` which can be passed to `v1.NewAPI` to override the status code based on error type and the error itself. For example, ``` errorTypeToStatusCode := ErrorTypeToStatusCode{ ErrorExec: func(err...