Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

279 B
Raw Blame
export class ErrorWithMetadata extends Error {
  public metadata: Record<string, unknown>;

  constructor(message: string, metadata: Record<string, unknown> = {}, options?: ErrorOptions) {
    super(message, options);
    this.name = "Error";
    this.metadata = metadata;
  }
}