neet/masto.js

View on GitHub
src/adapters/errors/masto-web-socket-error.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { CustomError } from "ts-custom-error";

export class MastoWebSocketError extends CustomError {
  constructor(message: string, options?: ErrorOptions) {
    super(message, options);
    this.message = message;
  }
}