Exception: Calcpace::InvalidTimeFormatError

Inherits:
Error
  • Object
show all
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

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