Add Msf::ModuleLoadError exception

GSoC/Meterpreter_Web_Console
William Vu 2018-10-10 14:22:40 -05:00
parent 1737935dc0
commit 29f36a3921
1 changed files with 14 additions and 2 deletions

View File

@ -48,10 +48,22 @@ class ValidationError < ArgumentError
end
end
###
#
# This exception is raised when the module cache is invalidated. It is
# handled internally by the ModuleManager.
# This exception is raised when a module fails to load.
#
# It is used by Msf::Modules::Loader::Base.
#
###
class ModuleLoadError < RuntimeError
end
###
#
# This exception is raised when the module cache is invalidated.
#
# It is handled internally by the ModuleManager.
#
###
class ModuleCacheInvalidated < RuntimeError