Exception: Textrepo::InvalidTimestampStringError

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

Overview

An error raised if an argument is invalid to convert a Textrepo::Timestamp object.

Instance Method Summary collapse

Constructor Details

#initialize(str) ⇒ InvalidTimestampStringError

Returns a new instance of InvalidTimestampStringError.



89
90
91
# File 'lib/textrepo/error.rb', line 89

def initialize(str)
  super(ErrMsg::INVALID_TIMESTAMP_STRING % str)
end