lib/blacklight/exceptions.rb in blacklight-5.13.0 vs lib/blacklight/exceptions.rb in blacklight-5.13.1
- old
+ new
@@ -1,10 +1,10 @@
# -*- encoding : utf-8 -*-
module Blacklight
module Exceptions
- class AccessDenied < Exception
+ class AccessDenied < StandardError
end
# When a request for a single solr document by id
# is not successful, we can raise this exception.
# Deprecated; this will be removed in Blacklight 6.0:
@@ -15,10 +15,10 @@
end
class InvalidRequest < StandardError
end
- class ExpiredSessionToken < Exception
+ class ExpiredSessionToken < StandardError
end
class ECONNREFUSED < ::Errno::ECONNREFUSED; end
end