Exception: Rex::Proto::SMB::Exceptions::ErrorCode
- Inherits:
-
InvalidPacket
- Object
- RuntimeError
- Error
- InvalidPacket
- Rex::Proto::SMB::Exceptions::ErrorCode
- 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
Methods inherited from Error
Constructor Details
This class inherits a constructor from Rex::Proto::SMB::Exceptions::Error
Instance Method Details
#to_s ⇒ Object
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 |