class JustGo::PointNotFoundError
PointNotFoundError
¶ ↑
A point not found error with a message
Public Class Methods
new(message="Can't find point with that id")
click to toggle source
New not players turn errors can be instantiated with
@option [String] message
the message to display.
Example:¶ ↑
# Instantiates a new PointNotFoundError JustGo::PointNotFoundError.new("Custom Message")
Calls superclass method
JustGo::Error::new
# File lib/just_go/errors/point_not_found_error.rb, line 18 def initialize(message="Can't find point with that id") super end