Sha256: 20f651fddbf6d4725f4da70fc808d2b2a40486bd4668b64cf5c6ff62c65f9519
Contents?: true
Size: 704 Bytes
Versions: 29
Compression:
Stored size: 704 Bytes
Contents
# frozen_string_literal: true module Dor class Exception < ::StandardError; end class ParameterError < RuntimeError; end # Raised when the data does not conform to expectations class DataError < RuntimeError; end # Raised when trying to open a version that is already open # rubocop:disable Lint/InheritException # See https://github.com/rubocop-hq/rubocop/issues/6770 class VersionAlreadyOpenError < Exception; end # Raised when we can't get a response from the catalog class BadResponseFromCatalog < Exception; end # rubocop:enable Lint/InheritException class DuplicateIdError < RuntimeError attr_reader :pid def initialize(pid) @pid = pid end end end
Version data entries
29 entries across 29 versions & 1 rubygems