Exception: Calcpace::InvalidTimeFormatError
- Defined in:
- lib/calcpace/errors.rb
Overview
Raised when time string format is invalid Expected formats: HH:MM:SS or MM:SS
Instance Method Summary collapse
-
#initialize(msg = 'Invalid time format. Expected HH:MM:SS or MM:SS format.') ⇒ InvalidTimeFormatError
constructor
A new instance of InvalidTimeFormatError.
Constructor Details
#initialize(msg = 'Invalid time format. Expected HH:MM:SS or MM:SS format.') ⇒ InvalidTimeFormatError
Returns a new instance of InvalidTimeFormatError.
11 12 13 |
# File 'lib/calcpace/errors.rb', line 11 def initialize(msg = 'Invalid time format. Expected HH:MM:SS or MM:SS format.') super end |