summary refs log tree commit
diff options
context:
space:
mode:
authorJames Tucker <jftucker@gmail.com>2014-07-18 15:43:21 -0700
committerJames Tucker <jftucker@gmail.com>2014-07-18 15:43:21 -0700
commit975ccac7e56dcd765cb102016b97ef13d15feba8 (patch)
tree8114bb781b7927fab67623fc5aa757602cc4d038
parent837b0e6ccf737b90c20977c8d6ac8bb5fbac2e3e (diff)
downloadrack-975ccac7e56dcd765cb102016b97ef13d15feba8.tar.gz
Fix parent type API regression introduced in #713
-rw-r--r--lib/rack/utils.rb2
1 files changed, 1 insertions, 1 deletions
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)