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.



55
56
57
# File 'lib/msf/core/exception.rb', line 55

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