Exception: Dor::DuplicateIdError

Inherits:
Exception
  • Object
show all
Defined in:
lib/dor/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pid) ⇒ DuplicateIdError

Returns a new instance of DuplicateIdError.



8
9
10
# File 'lib/dor/exceptions.rb', line 8

def initialize(pid)
  @pid = pid
end

Instance Attribute Details

#pidObject (readonly)

Returns the value of attribute pid.



6
7
8
# File 'lib/dor/exceptions.rb', line 6

def pid
  @pid
end