UNPKG

@grafana/runtime

Version:
9 lines (8 loc) 296 B
import { DataQueryError } from '@grafana/data'; /** * Convert an object into a DataQueryError -- if this is an HTTP response, * it will put the correct values in the error field * * @public */ export declare function toDataQueryError(err: DataQueryError | string | unknown): DataQueryError;