Exception: Ldp::GraphDifferenceException

Inherits:
Error
  • Object
show all
Defined in:
lib/ldp/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, diff) ⇒ GraphDifferenceException

Returns a new instance of GraphDifferenceException.



15
16
17
18
# File 'lib/ldp/error.rb', line 15

def initialize message, diff
  super(message)
  @diff = diff
end

Instance Attribute Details

#diffObject (readonly)

Returns the value of attribute diff.



14
15
16
# File 'lib/ldp/error.rb', line 14

def diff
  @diff
end