Project

General

Profile

Actions

Feature #11305

open

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

Added by postmodern (Hal Brodigan) over 9 years ago. Updated over 9 years ago.

Status:
Open
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.

Actions

Also available in: Atom PDF

Like0
Like0