Exception: AEMO::TimeError Abstract
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- AEMO::TimeError
- Defined in:
- lib/aemo/exceptions/time_error.rb
Overview
This class is abstract.
An exception for time errors.
AEMO::TimeError
Constant Summary collapse
- DEFAULT_MESSAGE =
'Not a valid time'
Instance Method Summary collapse
-
#initialize(msg: DEFAULT_MESSAGE) ⇒ AEMO::TimeError
constructor
Initialize an TimeError.
Constructor Details
#initialize(msg: DEFAULT_MESSAGE) ⇒ AEMO::TimeError
Initialize an TimeError
16 17 18 |
# File 'lib/aemo/exceptions/time_error.rb', line 16 def initialize(msg: DEFAULT_MESSAGE) super end |