Exception: Farscape::Exceptions::Conflict

Inherits:
ProtocolException show all
Defined in:
lib/farscape/errors.rb

Instance Attribute Summary

Attributes inherited from ProtocolException

#representor

Instance Method Summary collapse

Methods inherited from ProtocolException

#initialize, #message

Constructor Details

This class inherits a constructor from Farscape::Exceptions::ProtocolException

Instance Method Details

#error_descriptionObject



71
72
73
74
75
76
# File 'lib/farscape/errors.rb', line 71

def error_description
  'The request could not be completed due to a conflict with the current state of the resource.
  This code is only allowed in situations where it is expected that the user might be able to resolve the conflict and resubmit the request.
  Conflicts are most likely to occur in response to an idempotent request.
  For example, if versioning were being used and the entity included changes to a resource which conflict with those made by an earlier (third-party) request'.squish
end