Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GrafanaError

A Grafana error object.

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new GrafanaError(message: string, code?: number, options?: any, data?: any): GrafanaError
  • Construct a new Grafana error.

    Parameters

    • message: string

      The status message associated with the result.

    • Optional code: number

      The response code of the response.

    • Optional options: any

      The request options (configuration).

    • Optional data: any

      The payload of the response.

    Returns GrafanaError

Properties

Static message

message: string

Static name

name: string

Static Optional stack

stack: string

Accessors

code

  • get code(): number

Methods

toString

  • toString(): string

Generated using TypeDoc