Class: JustGo::PointNotEmptyError

Inherits:
Error
  • Object
show all
Defined in:
lib/just_go/errors/point_not_empty_error.rb

Overview

PointNotEmptyError

A point not empty error with a message

Instance Method Summary collapse

Constructor Details

#initialize(message = "Point is not empty") ⇒ PointNotEmptyError

New not players turn errors can be instantiated with

Example:

# Instantiates a new PointNotEmptyError
JustGo::PointNotEmptyError.new("Custom Message")

Parameters:

  • [String] (Hash)

    a customizable set of options



18
19
20
# File 'lib/just_go/errors/point_not_empty_error.rb', line 18

def initialize(message="Point is not empty") 
  super
end