Exception: Textrepo::MissingTimestampError

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

Overview

An error raised if the given timestamp has not exist in the repository.

Instance Method Summary collapse

Constructor Details

#initialize(timestamp) ⇒ MissingTimestampError

Returns a new instance of MissingTimestampError.



79
80
81
# File 'lib/textrepo/error.rb', line 79

def initialize(timestamp)
  super(ErrMsg::MISSING_TIMESTAMP % timestamp)
end