From 975ccac7e56dcd765cb102016b97ef13d15feba8 Mon Sep 17 00:00:00 2001 From: James Tucker Date: Fri, 18 Jul 2014 15:43:21 -0700 Subject: Fix parent type API regression introduced in #713 --- lib/rack/utils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rack/utils.rb b/lib/rack/utils.rb index 7f30a55a..53303995 100644 --- a/lib/rack/utils.rb +++ b/lib/rack/utils.rb @@ -29,7 +29,7 @@ module Rack # InvalidParameterError is the error that is raised when incoming structural # parameters (parsed by parse_nested_query) contain invalid format or byte # sequence. - class InvalidParameterError < TypeError; end + class InvalidParameterError < ArgumentError; end # URI escapes. (CGI style space to +) def escape(s) -- cgit v1.2.3-24-ge0c7