lib/preservation/client.rb in preservation-client-5.2.0 vs lib/preservation/client.rb in preservation-client-5.3.0
- old
+ new
@@ -21,9 +21,12 @@
class NotFoundError < Error; end
# Error raised when server returns 423 Locked
class LockedError < Error; end
+ # Error raised when server returns 409 Conflict
+ class ConflictError < Error; end
+
# Error raised when server returns an unexpected response
# e.g., 4xx or 5xx status not otherwise handled
class UnexpectedResponseError < Error; end
# Error raised when Faraday gem fails to connect, e.g., on SSL errors or