Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PerformanceNotCapturedError

Thrown when metric output methods were called and performance was not enabled.

Example

const perfApi = new PerformanceApi({enabled: false, packageUUID: "bogus"});

// Calling these methods will cause this error to be thrown.
perfApi.getMetrics();
perfApi.getNodeTiming();
perfApi.getSysInfo();

Hierarchy

Index

Constructors

Properties

Constructors

constructor

Properties

message

message: string

name

name: string

Optional stack

stack: string

Generated using TypeDoc