Exception: Rex::Proto::SMB::Exceptions::LoginError
- Inherits:
-
SimpleClientError
- Object
- RuntimeError
- Error
- SimpleClientError
- Rex::Proto::SMB::Exceptions::LoginError
- Defined in:
- lib/rex/proto/smb/exceptions.rb
Instance Attribute Summary collapse
-
#error_code ⇒ Object
Returns the value of attribute error_code.
-
#error_reason ⇒ Object
Returns the value of attribute error_reason.
Attributes inherited from SimpleClientError
Instance Method Summary collapse
Methods inherited from Error
Constructor Details
This class inherits a constructor from Rex::Proto::SMB::Exceptions::Error
Instance Attribute Details
#error_code ⇒ Object
Returns the value of attribute error_code.
858 859 860 |
# File 'lib/rex/proto/smb/exceptions.rb', line 858 def error_code @error_code end |
#error_reason ⇒ Object
Returns the value of attribute error_reason.
858 859 860 |
# File 'lib/rex/proto/smb/exceptions.rb', line 858 def error_reason @error_reason end |
Instance Method Details
#to_s ⇒ Object
859 860 861 |
# File 'lib/rex/proto/smb/exceptions.rb', line 859 def to_s "Login Failed: " + self.source.to_s end |