Sha256: 6049eb2d55d9427e17252361ea3b881bbf4f7cdc1e5ebf53d048bfa6066e6781

Contents?: true

Size: 1.11 KB

Versions: 4

Compression:

Stored size: 1.11 KB

Contents

module Longleaf
  # General Longleaf error
  class LongleafError < StandardError; end

  # Invalid application configuration error
  class ConfigurationError < LongleafError; end

  # Invalid storage path error
  class InvalidStoragePathError < LongleafError; end

  # Metadata does not meet requirements error
  class MetadataError < LongleafError; end

  # Unavailable storage location error
  class StorageLocationUnavailableError < LongleafError; end

  # Error related to executing a preservation event
  class EventError < LongleafError; end

  # Error with the registration state of a file or while attempting to perform a registration event
  class RegistrationError < EventError; end

  # Error while attempting to perform a deregistration event
  class DeregistrationError < EventError; end

  # Error while performing a preservation service
  class PreservationServiceError < LongleafError; end

  # Fixity check failure error
  class ChecksumMismatchError < PreservationServiceError; end

  # Error indicating an unknown or invalid digest algorithm was specified
  class InvalidDigestAlgorithmError < LongleafError; end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
longleaf-1.1.1 lib/longleaf/errors.rb
longleaf-1.1.0 lib/longleaf/errors.rb
longleaf-1.0.0 lib/longleaf/errors.rb
longleaf-0.3.0 lib/longleaf/errors.rb