Inital Commit
This commit is contained in:
13
html/rechner/node_modules/ip-address/src/address-error.ts
generated
vendored
Normal file
13
html/rechner/node_modules/ip-address/src/address-error.ts
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
export class AddressError extends Error {
|
||||
parseMessage?: string;
|
||||
|
||||
constructor(message: string, parseMessage?: string) {
|
||||
super(message);
|
||||
|
||||
this.name = 'AddressError';
|
||||
|
||||
if (parseMessage !== null) {
|
||||
this.parseMessage = parseMessage;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user