Project

General

Profile

Feature #11305

[ipaddr] include the IP address in question within the InvalidAddressError exception message

Added by postmodern (Hal Brodigan) about 4 years ago. Updated about 4 years ago.

Status:
Open
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:69734]

Description

The ipaddr.rb library has a father complex and custom parser. If an IP address fails to parse, it will raise an InvalidAddressError from one of it's many parsing methods. The IP address should be included in the exception message for context.

History

Updated by postmodern (Hal Brodigan) about 4 years ago

  • Subject changed from include the IP address in question within the InvalidAddressError exception message to [ipaddr] include the IP address in question within the InvalidAddressError exception message

Also available in: Atom PDF