Sha256: c5e7370064f9d26084003cd4e0a8f111787677822b2c3bb454b3c6796fb5e505

Contents?: true

Size: 213 Bytes

Versions: 35

Compression:

Stored size: 213 Bytes

Contents

module Dor
  
  class Exception < ::Exception; end
  class ParameterError < Exception; end
  class DuplicateIdError < Exception
    attr_reader :pid
    
    def initialize(pid)
      @pid = pid
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
dor-services-4.6.6.1 lib/dor/exceptions.rb
dor-services-4.7.0 lib/dor/exceptions.rb
dor-services-4.6.8 lib/dor/exceptions.rb
dor-services-4.6.7 lib/dor/exceptions.rb
dor-services-4.6.5 lib/dor/exceptions.rb
dor-services-4.6.4 lib/dor/exceptions.rb
dor-services-4.6.3 lib/dor/exceptions.rb
dor-services-4.6.2 lib/dor/exceptions.rb
dor-services-4.6.1 lib/dor/exceptions.rb
dor-services-4.6.0 lib/dor/exceptions.rb
dor-services-4.5.0 lib/dor/exceptions.rb
dor-services-4.4.13 lib/dor/exceptions.rb
dor-services-4.4.12 lib/dor/exceptions.rb
dor-services-4.4.11 lib/dor/exceptions.rb
dor-services-4.4.10 lib/dor/exceptions.rb