Fix error message grammar (D'oh!)

This commit is contained in:
BorysLevytskyi
2021-01-16 20:44:39 +02:00
parent c7f3618ae0
commit 37d4e76e99

View File

@@ -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);