Exception: Rbnotes::InvalidTimestampPatternAsDateError

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

Overview

An error raised when the specified pattern cannot be converted into a date.

Instance Method Summary collapse

Constructor Details

#initialize(pattern) ⇒ InvalidTimestampPatternAsDateError

Returns a new instance of InvalidTimestampPatternAsDateError.



114
115
116
# File 'lib/rbnotes/error.rb', line 114

def initialize(pattern)
  super(ErrMsg::INVALID_TIMESTAMP_PATTERN_AS_DATE % pattern)
end