Exception: GovukError::GovukDataSync::MalformedDataSyncPeriod
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- GovukError::GovukDataSync::MalformedDataSyncPeriod
- Defined in:
- lib/govuk_app_config/govuk_error/govuk_data_sync.rb
Instance Method Summary collapse
-
#initialize(invalid_value) ⇒ MalformedDataSyncPeriod
constructor
A new instance of MalformedDataSyncPeriod.
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 |