Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/ts.corals.io/frontend/node_modules/pusher-js/src/core/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/corals/ts.corals.io/frontend/node_modules/pusher-js/src/core/errors.ts
/** Error classes used throughout the library. */
// https://github.com/Microsoft/TypeScript-wiki/blob/master/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work
export class BadEventName extends Error {
  constructor(msg?: string) {
    super(msg);

    Object.setPrototypeOf(this, new.target.prototype);
  }
}

export class BadChannelName extends Error {
  constructor(msg?: string) {
    super(msg);

    Object.setPrototypeOf(this, new.target.prototype);
  }
}

export class RequestTimedOut extends Error {
  constructor(msg?: string) {
    super(msg);

    Object.setPrototypeOf(this, new.target.prototype);
  }
}
export class TransportPriorityTooLow extends Error {
  constructor(msg?: string) {
    super(msg);

    Object.setPrototypeOf(this, new.target.prototype);
  }
}
export class TransportClosed extends Error {
  constructor(msg?: string) {
    super(msg);

    Object.setPrototypeOf(this, new.target.prototype);
  }
}
export class UnsupportedFeature extends Error {
  constructor(msg?: string) {
    super(msg);

    Object.setPrototypeOf(this, new.target.prototype);
  }
}
export class UnsupportedTransport extends Error {
  constructor(msg?: string) {
    super(msg);

    Object.setPrototypeOf(this, new.target.prototype);
  }
}
export class UnsupportedStrategy extends Error {
  constructor(msg?: string) {
    super(msg);

    Object.setPrototypeOf(this, new.target.prototype);
  }
}
export class HTTPAuthError extends Error {
  status: number;
  constructor(status: number, msg?: string) {
    super(msg);
    this.status = status;

    Object.setPrototypeOf(this, new.target.prototype);
  }
}

Spamworldpro Mini