Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

303 B
Raw Blame
export class ShopifyError extends Error {
  readonly data: Record<string, string> | null;

  constructor(message: string, data: Record<string, string> | null = null) {
    super(message);
    this.name = "ShopifyError";
    this.data = data;
    Object.setPrototypeOf(this, new.target.prototype);
  }
}