Exception: ActiveCouch::UpdateConflict
- Inherits:
-
ClientError
- Object
- StandardError
- ConnectionError
- ClientError
- ActiveCouch::UpdateConflict
- Defined in:
- lib/active_couch/connection.rb
Overview
412 Precondition Failed - this is returned when there is an update conflict (usually means revisions don’t match).
Instance Attribute Summary
Attributes inherited from ConnectionError
Instance Method Summary collapse
-
#to_s ⇒ Object
:nodoc:.
Methods inherited from ConnectionError
Constructor Details
This class inherits a constructor from ActiveCouch::ConnectionError
Instance Method Details
#to_s ⇒ Object
:nodoc:
38 39 40 |
# File 'lib/active_couch/connection.rb', line 38 def to_s "Failed with #{response.code} #{response.message if response.respond_to?(:message)}. Body: #{response.body}" end |