Exception: GovukError::GovukDataSync::MalformedDataSyncPeriod

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/govuk_app_config/govuk_error/govuk_data_sync.rb

Instance Method Summary collapse

Constructor Details

#initialize(invalid_value) ⇒ MalformedDataSyncPeriod

Returns a new instance of MalformedDataSyncPeriod.



6
7
8
# File 'lib/govuk_app_config/govuk_error/govuk_data_sync.rb', line 6

def initialize(invalid_value)
  super("\"#{invalid_value}\" is not a valid value (should be of form '22:00-03:00').")
end