Sha256: e549603c487cf4f9ea368f64db62edaad410f16830b2af91bf3495f1d1c41028
Contents?: true
Size: 521 Bytes
Versions: 1
Compression:
Stored size: 521 Bytes
Contents
require 'just_xiangqi/errors/error' module JustXiangqi # = PieceNotFoundError # # An piece not found error with a message class PieceNotFoundError < Error # New piece not found errors can be instantiated with # # @option [String] message # the message to display. # # ==== Example: # # Instantiates a new PieceNotFoundError # JustXiangqi::PieceNotFoundError.new("Custom Message") def initialize(message="The piece could not be found.") super end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
just_xiangqi-0.1.0 | lib/just_xiangqi/errors/piece_not_found_error.rb |