Exception: Warp::Dir::Errors::PointNotFound

Inherits:
InstanceError show all
Defined in:
lib/warp/dir/errors.rb

Instance Attribute Summary

Attributes inherited from InstanceError

#instance

Instance Method Summary collapse

Methods inherited from InstanceError

#color_error, #name

Constructor Details

#initialize(point) ⇒ PointNotFound

Returns a new instance of PointNotFound.



49
50
51
52
# File 'lib/warp/dir/errors.rb', line 49

def initialize(point)
  self.instance = point
  super color_error('Point ', point.to_s, ' was not found.')
end