From 37d4e76e9959e90dd0100739b498ede19154b04c Mon Sep 17 00:00:00 2001 From: BorysLevytskyi Date: Sat, 16 Jan 2021 20:44:39 +0200 Subject: [PATCH] Fix error message grammar (D'oh!) --- src/networking/ip-parser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/networking/ip-parser.ts b/src/networking/ip-parser.ts index 15dd329..86a7f27 100644 --- a/src/networking/ip-parser.ts +++ b/src/networking/ip-parser.ts @@ -73,7 +73,7 @@ const ipAddressParser = { const fourth = parseInt(matches[4]); if(invalid(first) || invalid(second) || invalid(third) || invalid(fourth)) - return new ParsingError(`${input} value doesn't fall within the valid range of the IP address space`); + return new ParsingError(`${input} doesn't represent a valid IP address space`); const ipAddress = new IpAddress(first, second, third, fourth);