Exception: Msf::Exploit::Remote::LDAP::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Msf::Exploit::Remote::LDAP::Error
- Defined in:
- lib/msf/core/exploit/remote/ldap/error.rb
Instance Attribute Summary collapse
-
#error_code ⇒ Object
readonly
Returns the value of attribute error_code.
-
#operation_result ⇒ Object
readonly
Returns the value of attribute operation_result.
Instance Method Summary collapse
-
#initialize(message: nil, error_code: nil, operation_result: nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message: nil, error_code: nil, operation_result: nil) ⇒ Error
Returns a new instance of Error.
9 10 11 12 13 |
# File 'lib/msf/core/exploit/remote/ldap/error.rb', line 9 def initialize(message: nil, error_code: nil, operation_result: nil) super( || 'LDAP Error') @error_code = error_code @operation_result = operation_result end |
Instance Attribute Details
#error_code ⇒ Object (readonly)
Returns the value of attribute error_code.
7 8 9 |
# File 'lib/msf/core/exploit/remote/ldap/error.rb', line 7 def error_code @error_code end |
#operation_result ⇒ Object (readonly)
Returns the value of attribute operation_result.
8 9 10 |
# File 'lib/msf/core/exploit/remote/ldap/error.rb', line 8 def operation_result @operation_result end |