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;