Exception: Msf::ValidationError

Inherits:
ArgumentError
  • Object
show all
Includes:
Exception
Defined in:
lib/msf/core/exceptions.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.


43
44
45
# File 'lib/msf/core/exceptions.rb', line 43

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