source:
node_modules/ip-address/src/address-error.ts@
62b2964
| Last change on this file since 62b2964 was 81bc7da, checked in by , 3 months ago | |
|---|---|
|
|
| File size: 222 bytes | |
| Line | |
|---|---|
| 1 | export class AddressError extends Error { |
| 2 | parseMessage?: string; |
| 3 | |
| 4 | constructor(message: string, parseMessage?: string) { |
| 5 | super(message); |
| 6 | |
| 7 | this.name = 'AddressError'; |
| 8 | |
| 9 | this.parseMessage = parseMessage; |
| 10 | } |
| 11 | } |
Note:
See TracBrowser
for help on using the repository browser.
