module Hyrax
  # 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 ObjectNotFoundError < ActiveFedora::ObjectNotFoundError; end
end

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 ObjectNotFoundError < ActiveFedora::ObjectNotFoundError; end
end

Fix the uninitialized constant ActiveFedora::ObjectNotFoundError NameError.
Fix the uninitialized constant ActiveFedora::ObjectNotFoundError
NameError.