Exception: Textrepo::ArgumentRangeError

Inherits:
Error
  • Object
show all
Defined in:
lib/textrepo/error.rb

Overview

An error raised if argument is out of range for Timestamp class.

Instance Method Summary collapse

Constructor Details

#initialize(arg) ⇒ ArgumentRangeError

Returns a new instance of ArgumentRangeError.



39
40
41
# File 'lib/textrepo/error.rb', line 39

def initialize(arg)
  super(ErrMsg::ARGUMENT_RANGE % arg)
end