Sha256: 9f7ed61f1abcd8fc2ef324044315c15dec40d4f793d72831fe5a967a22bfa620

Contents?: true

Size: 613 Bytes

Versions: 11

Compression:

Stored size: 613 Bytes

Contents

# -*- encoding : utf-8 -*-
module Blacklight
  module Exceptions

    class AccessDenied < Exception
    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:
    class InvalidSolrID < RuntimeError
    end
    # In Blacklight 6.0, this exception can subclass RuntimeError directly
    class RecordNotFound < InvalidSolrID
    end

    class InvalidRequest < StandardError
    end

    class ExpiredSessionToken < Exception
    end

    class ECONNREFUSED < ::Errno::ECONNREFUSED; end

  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
blacklight-5.13.0 lib/blacklight/exceptions.rb
blacklight-5.11.3 lib/blacklight/exceptions.rb
blacklight-5.12.1 lib/blacklight/exceptions.rb
blacklight-5.12.0 lib/blacklight/exceptions.rb
blacklight-5.10.3 lib/blacklight/exceptions.rb
blacklight-5.11.2 lib/blacklight/exceptions.rb
blacklight-5.11.1 lib/blacklight/exceptions.rb
blacklight-5.11.0 lib/blacklight/exceptions.rb
blacklight-5.10.2 lib/blacklight/exceptions.rb
blacklight-5.10.1 lib/blacklight/exceptions.rb
blacklight-5.10.0 lib/blacklight/exceptions.rb