Rex::ArgumentError
Exception thrown when a request fails.
The error result that occurred, typically a windows error code.
The method that failed.
The error result that occurred, typically a windows error message.
# File lib/rex/post/meterpreter/packet_dispatcher.rb, line 16 def initialize(method, einfo, ecode=nil) @method = method @result = einfo @code = ecode || einfo end
# File lib/rex/post/meterpreter/packet_dispatcher.rb, line 22 def to_s "#{@method}: Operation failed: #{@result}" end
[Validate]
Generated with the Darkfish Rdoc Generator 2.