errors.ts 264 B

1234567891011121314
  1. export class LyricsError extends Error {
  2. constructor(message: string) {
  3. super(message);
  4. this.name = "LyricsError";
  5. }
  6. }
  7. export class PluginError extends Error {
  8. constructor(message: string) {
  9. super(message);
  10. this.name = "PluginError";
  11. }
  12. }