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.14.2 lib/dor/exceptions.rb
dor-services-4.14.1 lib/dor/exceptions.rb
dor-services-4.4.12.1 lib/dor/exceptions.rb
dor-services-4.14.0 lib/dor/exceptions.rb
dor-services-4.13.2 lib/dor/exceptions.rb
dor-services-4.13.1 lib/dor/exceptions.rb
dor-services-4.13.0 lib/dor/exceptions.rb
dor-services-4.6.6.3 lib/dor/exceptions.rb
dor-services-4.12.3 lib/dor/exceptions.rb
dor-services-4.12.2 lib/dor/exceptions.rb
dor-services-4.12.1 lib/dor/exceptions.rb
dor-services-4.12.0 lib/dor/exceptions.rb
dor-services-4.11.1 lib/dor/exceptions.rb
dor-services-4.11.0 lib/dor/exceptions.rb
dor-services-4.9.0 lib/dor/exceptions.rb
dor-services-4.8.3 lib/dor/exceptions.rb
dor-services-4.8.2 lib/dor/exceptions.rb
dor-services-4.8.1 lib/dor/exceptions.rb
dor-services-4.8.0 lib/dor/exceptions.rb
dor-services-4.6.6.2 lib/dor/exceptions.rb