Exception: Msf::MCP::Config::ValidationError

Inherits:
Error
  • Object
show all
Defined in:
lib/msf/core/mcp/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(errors = {}) ⇒ ValidationError

Returns a new instance of ValidationError.



19
20
21
22
# File 'lib/msf/core/mcp/errors.rb', line 19

def initialize(errors = {})
  @errors = errors
  super(build_message)
end

Instance Attribute Details

#errorsObject (readonly)

Returns the value of attribute errors.



17
18
19
# File 'lib/msf/core/mcp/errors.rb', line 17

def errors
  @errors
end