Exception: Msf::ValidationError

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

Overview

This exception is raised when something failed to validate properly.

Instance Method Summary collapse

Constructor Details

#initialize(msg = "One or more requirements could not be validated.") ⇒ ValidationError

Returns a new instance of ValidationError.


42
43
44
# File 'lib/msf/core/exception.rb', line 42

def initialize(msg="One or more requirements could not be validated.")
  super(msg)
end