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 Error
Constructor Details
This class inherits a constructor from Rex::Proto::SMB::Exceptions::Error
Instance Method Details
#to_s ⇒ Object
807 808 809 810 811 |
# File 'lib/rex/proto/smb/exceptions.rb', line 807 def to_s 'The server responded with error: ' + self.get_error(self.error_code) + " (Command=#{self.command} WordCount=#{self.word_count})" end |