Class: JustGo::PointNotFoundError
- Defined in:
- lib/just_go/errors/point_not_found_error.rb
Overview
PointNotFoundError
A point not found error with a message
Instance Method Summary collapse
-
#initialize(message = "Can't find point with that id") ⇒ PointNotFoundError
constructor
New not players turn errors can be instantiated with.
Constructor Details
#initialize(message = "Can't find point with that id") ⇒ PointNotFoundError
New not players turn errors can be instantiated with
Example:
# Instantiates a new PointNotFoundError
JustGo::PointNotFoundError.new("Custom Message")
18 19 20 |
# File 'lib/just_go/errors/point_not_found_error.rb', line 18 def initialize(="Can't find point with that id") super end |