Class: Brocade::SAN::Switch::Error

Inherits:
Brocade::SAN.selfself::Error
  • Object
show all
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:


914
915
916
# File 'lib/brocadesan/switch.rb', line 914

def self.incorrect(str) #:nodoc:
  self.new("#{WRONG_FORMAT} - #{str}")
end

.unknownObject


918
919
920
# File 'lib/brocadesan/switch.rb', line 918

def self.unknown
  self.new("Unknown attribute")
end