Merge branch 'master' into 3634-tab-state
[arvados.git] / services / api / app / models / arvados_model.rb
index 376df0cef3cd9aea812bcdf1a92fff92b76f8952..2e17747839cb9819d22ad6e49487bb921172cef4 100644 (file)
@@ -36,6 +36,12 @@ class ArvadosModel < ActiveRecord::Base
     end
   end
 
+  class AlreadyLockedError < StandardError
+    def http_status
+      403
+    end
+  end
+
   class UnauthorizedError < StandardError
     def http_status
       401