Exception: AEMO::InvalidNMIAllocationType Abstract
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- AEMO::InvalidNMIAllocationType
- Defined in:
- lib/aemo/exceptions/invalid_nmi_allocation_type.rb
Overview
This class is abstract.
An exception representing an invalid NMI allocation type
AEMO::InvalidNMIAllocationType
Constant Summary collapse
- DEFAULT_MESSAGE =
'Not a valid allocation type, try one of ' \ "#{AEMO::NMI::Allocation::SUPPORTED_TYPES.join(' |')}".freeze
Instance Method Summary collapse
-
#initialize(msg = DEFAULT_MESSAGE) ⇒ AEMO::InvalidNMIAllocationType
constructor
Initialize an InvalidNMIAllocationType.
Constructor Details
#initialize(msg = DEFAULT_MESSAGE) ⇒ AEMO::InvalidNMIAllocationType
Initialize an InvalidNMIAllocationType
17 18 19 |
# File 'lib/aemo/exceptions/invalid_nmi_allocation_type.rb', line 17 def initialize(msg = DEFAULT_MESSAGE) super end |