API Reference@grafana/runtimeFetchError

FetchError interface

Error type for fetch function in BackendSrv

Signature

export interface FetchError<T = any> 

Import

import { FetchError } from '@grafana/runtime';

Properties

PropertyTypeDescription
cancelledboolean
configBackendSrvRequest
dataT
isHandledboolean
statusnumber
statusTextstring

cancelled property

Signature

cancelled?: boolean;

config property

Signature

config: BackendSrvRequest;

data property

Signature

data: T;

isHandled property

Signature

isHandled?: boolean;

status property

Signature

status: number;

statusText property

Signature

statusText?: string;