diff options
author | James Tucker <jftucker@gmail.com> | 2014-07-18 15:43:21 -0700 |
---|---|---|
committer | James Tucker <jftucker@gmail.com> | 2014-07-18 15:43:21 -0700 |
commit | 975ccac7e56dcd765cb102016b97ef13d15feba8 (patch) | |
tree | 8114bb781b7927fab67623fc5aa757602cc4d038 | |
parent | 837b0e6ccf737b90c20977c8d6ac8bb5fbac2e3e (diff) | |
download | rack-975ccac7e56dcd765cb102016b97ef13d15feba8.tar.gz |
Fix parent type API regression introduced in #713
-rw-r--r-- | lib/rack/utils.rb | 2 |
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) |