Sha256: 9cbd5fd5c87fadf086b3dc8773dea0476d38d04d9564608ce62cb7f3b2efa64b

Contents?: true

Size: 533 Bytes

Versions: 12

Compression:

Stored size: 533 Bytes

Contents

# frozen_string_literal: true
module Hyrax
  require 'active_fedora/errors'

  # Generic Hyrax exception class.
  class HyraxError < StandardError; end

  # Error that is raised when an active workflow can't be found
  class MissingWorkflowError < HyraxError; end

  class WorkflowAuthorizationException < HyraxError; end

  class SingleUseError < HyraxError; end

  class SingleMembershipError < HyraxError; end

  class ObjectNotFoundError < ActiveFedora::ObjectNotFoundError; end

  class ModelMismatchError < HyraxError; end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
hyrax-5.0.1 lib/hyrax/errors.rb
hyrax-5.0.0 lib/hyrax/errors.rb
hyrax-5.0.0.rc3 lib/hyrax/errors.rb
hyrax-5.0.0.rc2 lib/hyrax/errors.rb
hyrax-5.0.0.rc1 lib/hyrax/errors.rb
hyrax-3.6.0 lib/hyrax/errors.rb
hyrax-4.0.0 lib/hyrax/errors.rb
hyrax-4.0.0.rc3 lib/hyrax/errors.rb
hyrax-4.0.0.rc2 lib/hyrax/errors.rb
hyrax-4.0.0.rc1 lib/hyrax/errors.rb
hyrax-3.5.0 lib/hyrax/errors.rb
hyrax-4.0.0.beta2 lib/hyrax/errors.rb