Sha256: 0978418e0bf4e4ccf6b9db86f0f004df6004a03303e3abbc7dc78579280229e2

Contents?: true

Size: 621 Bytes

Versions: 18

Compression:

Stored size: 621 Bytes

Contents

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

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

    class InvalidRequest < StandardError
    end

    class ExpiredSessionToken < StandardError
    end

    class ECONNREFUSED < ::Errno::ECONNREFUSED; end

  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
blacklight-5.19.2 lib/blacklight/exceptions.rb
blacklight-5.19.1 lib/blacklight/exceptions.rb
blacklight-5.19.0 lib/blacklight/exceptions.rb
blacklight-5.18.0 lib/blacklight/exceptions.rb
blacklight-5.17.2 lib/blacklight/exceptions.rb
blacklight-5.17.1 lib/blacklight/exceptions.rb
blacklight-5.17.0 lib/blacklight/exceptions.rb
blacklight-5.16.4 lib/blacklight/exceptions.rb
blacklight-6.0.0.pre3 lib/blacklight/exceptions.rb
blacklight-5.16.3 lib/blacklight/exceptions.rb
blacklight-5.16.2 lib/blacklight/exceptions.rb
blacklight-5.16.1 lib/blacklight/exceptions.rb
blacklight-6.0.0.pre2 lib/blacklight/exceptions.rb
blacklight-6.0.0.pre1 lib/blacklight/exceptions.rb
blacklight-5.16.0 lib/blacklight/exceptions.rb
blacklight-5.15.0 lib/blacklight/exceptions.rb
blacklight-5.14.0 lib/blacklight/exceptions.rb
blacklight-5.13.1 lib/blacklight/exceptions.rb