mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Error Handling: support errors and data in a response (#20169)
This commit is contained in:
@@ -376,6 +376,11 @@ export interface DataQueryResponse {
|
||||
*/
|
||||
key?: string;
|
||||
|
||||
/**
|
||||
* Optionally include error info along with the response data
|
||||
*/
|
||||
error?: DataQueryError;
|
||||
|
||||
/**
|
||||
* Use this to control which state the response should have
|
||||
* Defaults to LoadingState.Done if state is not defined
|
||||
|
Reference in New Issue
Block a user