Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Enterprise Open source

DataQueryError interface

Signature

typescript
export interface DataQueryError 

Import

typescript
import { DataQueryError } from '@grafana/data';

Properties

PropertyTypeDescription
data{
message?: string;
error?: string;
}
messagestring
refIdstring
statusnumber
statusTextstring
typeDataQueryErrorType

data property

Signature

typescript
data?: {
        message?: string;
        error?: string;
    };

message property

Signature

typescript
message?: string;

refId property

Signature

typescript
refId?: string;

status property

Signature

typescript
status?: number;

statusText property

Signature

typescript
statusText?: string;

type property

Signature

typescript
type?: DataQueryErrorType;