Exception: Msf::Exploit::Remote::LDAP::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/msf/core/exploit/remote/ldap/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(message || 'LDAP Error')
  @error_code = error_code
  @operation_result = operation_result
end

Instance Attribute Details

#error_codeObject (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_resultObject (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