Sha256: 9f6b7e0f97981b569cd881642aad871c3d1cb61b52ea0c165556ff576b6a0e82

Contents?: true

Size: 505 Bytes

Versions: 10

Compression:

Stored size: 505 Bytes

Contents

require 'just_go/errors/error'

module JustGo

  # = PointNotFoundError
  #
  # A point not found error with a message
  class PointNotFoundError < Error

    # 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")
    def initialize(message="Can't find point with that id") 
      super
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
just_go-0.1.10 lib/just_go/errors/point_not_found_error.rb
just_go-0.1.9 lib/just_go/errors/point_not_found_error.rb
just_go-0.1.8 lib/just_go/errors/point_not_found_error.rb
just_go-0.1.7 lib/just_go/errors/point_not_found_error.rb
just_go-0.1.6 lib/just_go/errors/point_not_found_error.rb
just_go-0.1.5 lib/just_go/errors/point_not_found_error.rb
just_go-0.1.4 lib/just_go/errors/point_not_found_error.rb
just_go-0.1.3 lib/just_go/errors/point_not_found_error.rb
just_go-0.1.2 lib/just_go/errors/point_not_found_error.rb
just_go-0.1.0 lib/just_go/errors/point_not_found_error.rb