lib/blacklight/exceptions.rb in blacklight-7.40.0 vs lib/blacklight/exceptions.rb in blacklight-8.0.0.beta1

- old
+ new

@@ -1,6 +1,7 @@ # frozen_string_literal: true + module Blacklight module Exceptions class AccessDenied < StandardError end @@ -13,11 +14,10 @@ class ExpiredSessionToken < StandardError end class ECONNREFUSED < ::Errno::ECONNREFUSED; end - # NOTE: In Blacklight 8, the parent class will be Timeout::Error - class RepositoryTimeout < InvalidRequest; end + class RepositoryTimeout < Timeout::Error; end class IconNotFound < StandardError end end end