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.
FetchError interface
Error type for fetch function in BackendSrv
Signature
export interface FetchError<T extends FetchErrorDataProps = any>
Import
import { FetchError } from '@grafana/runtime';
Properties
Property | Type | Description |
---|---|---|
cancelled | boolean | |
config | BackendSrvRequest | |
data | T | |
isHandled | boolean | |
status | number | |
statusText | string |
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;