File "address-error.ts"

Full path: /home/ulinin/public_html/ttt.ulinin.com/url/lib/address-error.ts
File size: 0.26 KB (263 B bytes)
MIME-type: text/plain
Charset: utf-8

Download   Open   Edit   Advanced Editor   Back

export class AddressError extends Error {
  parseMessage?: string;

  constructor(message: string, parseMessage?: string) {
    super(message);

    this.name = 'AddressError';

    if (parseMessage !== null) {
      this.parseMessage = parseMessage;
    }
  }
}