MCPcopy Create free account
hub / github.com/btd/rollup-plugin-visualizer / constructor

Method constructor

shared/share/limits.ts:2–9  ·  view source on GitHub ↗
(
    public readonly code:
      "invalid-report" | "unsupported-version" | "resource-limit" | "unsupported-browser",
    message: string,
  )

Source from the content-addressed store, hash-verified

1export class ShareError extends Error {
2 constructor(
3 public readonly code:
4 "invalid-report" | "unsupported-version" | "resource-limit" | "unsupported-browser",
5 message: string,
6 ) {
7 super(message);
8 this.name = "ShareError";
9 }
10}
11
12export interface ShareLimits {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected