The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/docs/sources/packages_api/data/dataqueryerror.md

82 lines
1.6 KiB

+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "DataQueryError"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++
## DataQueryError interface
<b>Signature</b>
```typescript
export interface DataQueryError
```
<b>Import</b>
```typescript
import { DataQueryError } from '@grafana/data';
```
<b>Properties</b>
| Property | Type | Description |
| --- | --- | --- |
| [cancelled](#cancelled-property) | <code>boolean</code> | |
| [data](#data-property) | <code>{</code><br/><code> message?: string;</code><br/><code> error?: string;</code><br/><code> }</code> | |
| [message](#message-property) | <code>string</code> | |
| [refId](#refid-property) | <code>string</code> | |
| [status](#status-property) | <code>string</code> | |
| [statusText](#statustext-property) | <code>string</code> | |
### cancelled property
<b>Signature</b>
```typescript
cancelled?: boolean;
```
### data property
<b>Signature</b>
```typescript
data?: {
message?: string;
error?: string;
};
```
### message property
<b>Signature</b>
```typescript
message?: string;
```
### refId property
<b>Signature</b>
```typescript
refId?: string;
```
### status property
<b>Signature</b>
```typescript
status?: string;
```
### statusText property
<b>Signature</b>
```typescript
statusText?: string;
```