Class: Brocade::SAN::Switch::Error
- Inherits:
-
Brocade::SAN.selfself::Error
- Object
- Brocade::SAN.selfself::Error
- Brocade::SAN::Switch::Error
- Defined in:
- lib/brocadesan/switch.rb
Overview
class extending SshDevice::Error
Constant Summary collapse
- WRONG_FORMAT =
"Error: Incorrect format"
Class Method Summary collapse
Class Method Details
.incorrect(str) ⇒ Object
:nodoc:
925 926 927 |
# File 'lib/brocadesan/switch.rb', line 925 def self.incorrect(str) #:nodoc: self.new("#{WRONG_FORMAT} - #{str}") end |
.unknown ⇒ Object
929 930 931 |
# File 'lib/brocadesan/switch.rb', line 929 def self.unknown self.new("Unknown attribute") end |