Exception: PryMoves::ErrorWithData

Inherits:
StandardError
  • Object
show all
Defined in:
lib/pry-moves/error_with_data.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, metadata) ⇒ ErrorWithData

Returns a new instance of ErrorWithData.



5
6
7
8
# File 'lib/pry-moves/error_with_data.rb', line 5

def initialize(msg, )
  super msg
  @metadata = 
end

Instance Attribute Details

#metadataObject (readonly)

Returns the value of attribute metadata.



3
4
5
# File 'lib/pry-moves/error_with_data.rb', line 3

def 
  @metadata
end