Exception: Rex::Proto::SMB::Exceptions::ErrorCode

Inherits:
InvalidPacket show all
Defined in:
lib/rex/proto/smb/exceptions.rb

Instance Attribute Summary

Attributes inherited from InvalidPacket

#command, #error_code, #word_count

Instance Method Summary collapse

Methods inherited from InvalidPacket

#error_name

Methods inherited from Error

#get_error, #initialize

Constructor Details

This class inherits a constructor from Rex::Proto::SMB::Exceptions::Error

Instance Method Details

#to_sObject



816
817
818
819
820
# File 'lib/rex/proto/smb/exceptions.rb', line 816

def to_s
  'The server responded with error: ' +
  self.error_name +
  " (Command=#{self.command} WordCount=#{self.word_count})"
end