Exception: Warp::Dir::Errors::PointAlreadyExists
- Inherits:
-
InstanceError
- Object
- RuntimeError
- Runtime
- InstanceError
- Warp::Dir::Errors::PointAlreadyExists
- Defined in:
- lib/warp/dir/errors.rb
Instance Attribute Summary
Attributes inherited from InstanceError
Instance Method Summary collapse
-
#initialize(point) ⇒ PointAlreadyExists
constructor
A new instance of PointAlreadyExists.
Methods inherited from InstanceError
Constructor Details
#initialize(point) ⇒ PointAlreadyExists
Returns a new instance of PointAlreadyExists.
56 57 58 59 |
# File 'lib/warp/dir/errors.rb', line 56 def initialize(point) self.instance = point super color_error('Point ', point.to_s, ' already exists. Pass --force to overwrite.') end |