Exception: Msf::MissingTargetError

Inherits:
ArgumentError
  • Object
show all
Includes:
ExploitError
Defined in:
lib/msf/core/exceptions.rb

Overview

This exception is raised if a target was not specified when attempting to exploit something.

Instance Method Summary collapse

Instance Method Details

#to_sObject


186
187
188
# File 'lib/msf/core/exceptions.rb', line 186

def to_s
  "A target has not been selected."
end