diff options
author | José Valim <jose.valim@gmail.com> | 2010-09-27 21:33:03 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-09-27 21:33:03 +0200 |
commit | 8be911c698aadd389b1607b4dbcea47001761536 (patch) | |
tree | 837fc3d03fd74a5043160aab9224888ca70de12c /activeresource/lib/active_resource/exceptions.rb | |
parent | 8aa3684e07db81244c61c9ac98347831a976666b (diff) | |
parent | f85b38a36b68488e94e9950fd15ec29a21bf6917 (diff) | |
download | rails-8be911c698aadd389b1607b4dbcea47001761536.tar.gz rails-8be911c698aadd389b1607b4dbcea47001761536.tar.bz2 rails-8be911c698aadd389b1607b4dbcea47001761536.zip |
Merge remote branch 'gramos/ares-missing-prefix-value'
Diffstat (limited to 'activeresource/lib/active_resource/exceptions.rb')
-rw-r--r-- | activeresource/lib/active_resource/exceptions.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/activeresource/lib/active_resource/exceptions.rb b/activeresource/lib/active_resource/exceptions.rb index 0f4549fd73..6b953b28ad 100644 --- a/activeresource/lib/active_resource/exceptions.rb +++ b/activeresource/lib/active_resource/exceptions.rb @@ -36,6 +36,9 @@ module ActiveResource def to_s; response['Location'] ? "#{super} => #{response['Location']}" : super; end end + # Raised when ... + class MissingPrefixParam < ArgumentError; end # :nodoc: + # 4xx Client Error class ClientError < ConnectionError; end # :nodoc: |