+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "DataQueryError"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
draft = true
+++

## 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;
```
