Exception: Rbnotes::InvalidTimestampPatternAsDateError
- Defined in:
- lib/rbnotes/error.rb
Overview
An error raised when the specified pattern cannot be converted into a date.
Instance Method Summary collapse
-
#initialize(pattern) ⇒ InvalidTimestampPatternAsDateError
constructor
A new instance of InvalidTimestampPatternAsDateError.
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 |