Exception: PuppetX::IntechWIFI::Exceptions::ProtocolFormatError
- Inherits:
-
StandardError
- Object
- StandardError
- PuppetX::IntechWIFI::Exceptions::ProtocolFormatError
- Defined in:
- lib/puppet_x/intechwifi/exceptions.rb
Instance Method Summary collapse
-
#initialize(data) ⇒ ProtocolFormatError
constructor
A new instance of ProtocolFormatError.
Constructor Details
#initialize(data) ⇒ ProtocolFormatError
Returns a new instance of ProtocolFormatError
42 43 44 |
# File 'lib/puppet_x/intechwifi/exceptions.rb', line 42 def initialize(data) super("Failed to obtain Network protocol number from '#{data}'.") end |