Class: Hyrax::Fixity::ActiveFedoraFixityService

Inherits:
ActiveFedora::FixityService
  • Object
show all
Defined in:
app/services/hyrax/fixity/active_fedora_fixity_service.rb

Overview

Wraps ‘ActiveFedora::FixityService` to avoid leaking Fedora-specific errors.

See Also:

  • ActiveFedora::FixityService

Instance Method Summary collapse

Instance Method Details

#responseObject

Raises:

  • MissingContentError

See Also:

  • ActiveFedora::FixityService#response


12
13
14
15
16
17
# File 'app/services/hyrax/fixity/active_fedora_fixity_service.rb', line 12

def response
  super
rescue Ldp::NotFound
  raise MissingContentError,
        "Tried to check fixity of #{@target}, but it was not found."
end