Exception: SshDevice::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/brocadesan/device.rb

Overview

Class using for raising specific errors

Constant Summary collapse

SESSION_WTIHOUT_BLOCK =
"Error: Session can run only with block"

Class Method Summary collapse

Class Method Details

.no_blockObject



292
293
294
# File 'lib/brocadesan/device.rb', line 292

def self.no_block
  self.new(SESSION_WTIHOUT_BLOCK)
end