Exception: Textrepo::DuplicateTimestampError

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

Overview

An error raised if the specified timestamp has already exist in the repository.

Instance Method Summary collapse

Constructor Details

#initialize(timestamp) ⇒ DuplicateTimestampError

Returns a new instance of DuplicateTimestampError.



60
61
62
# File 'lib/textrepo/error.rb', line 60

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