lib/dor/services/client.rb in dor-services-client-6.3.1 vs lib/dor/services/client.rb in dor-services-client-6.4.0
- old
+ new
@@ -34,9 +34,12 @@
class UnexpectedResponse < Error; end
# Error that is raised when the remote server returns a 401 Unauthorized
class UnauthorizedResponse < UnexpectedResponse; end
+ # Error that is raised when the remote server returns a 409 Conflict
+ class ConflictResponse < UnexpectedResponse; end
+
# Error that is raised when the remote server returns some unparsable response
class MalformedResponse < Error; end
# Error that wraps Faraday connection exceptions
class ConnectionFailed < Error; end