Sha256: e91be1c21a06e38cff865818b3b8c6424e3e7d4442ffa5af79c4f8878545f390

Contents?: true

Size: 624 Bytes

Versions: 12

Compression:

Stored size: 624 Bytes

Contents

# frozen_string_literal: true
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

12 entries across 12 versions & 1 rubygems

Version Path
blacklight-6.5.0 lib/blacklight/exceptions.rb
blacklight-6.4.2 lib/blacklight/exceptions.rb
blacklight-6.4.1 lib/blacklight/exceptions.rb
blacklight-6.4.0 lib/blacklight/exceptions.rb
blacklight-6.3.3 lib/blacklight/exceptions.rb
blacklight-6.3.1 lib/blacklight/exceptions.rb
blacklight-6.3.0 lib/blacklight/exceptions.rb
blacklight-6.2.0 lib/blacklight/exceptions.rb
blacklight-6.1.0 lib/blacklight/exceptions.rb
blacklight-6.0.2 lib/blacklight/exceptions.rb
blacklight-6.0.1 lib/blacklight/exceptions.rb
blacklight-6.0.0 lib/blacklight/exceptions.rb