Sha256: d845e70c02681f52e579f5e0d2628c8ead8a82684710f6c9aefb1afaeab9fb67
Contents?: true
Size: 552 Bytes
Versions: 25
Compression:
Stored size: 552 Bytes
Contents
# frozen_string_literal: true module Hyrax module Fixity ## # Wraps `ActiveFedora::FixityService` to avoid leaking Fedora-specific errors. # # @see ActiveFedora::FixityService class ActiveFedoraFixityService < ActiveFedora::FixityService ## # @raise MissingContentError # @see ActiveFedora::FixityService#response def response super rescue Ldp::NotFound raise MissingContentError, "Tried to check fixity of #{@target}, but it was not found." end end end end
Version data entries
25 entries across 25 versions & 1 rubygems