finki-main
main
|
Last change
on this file since 62b2964 was 81bc7da, checked in by Klimentina Efremova <klimentina08642@…>, 3 months ago |
|
Initial commit
|
-
Property mode
set to
100644
|
|
File size:
222 bytes
|
| Rev | Line | |
|---|
| [81bc7da] | 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.