Exception: Rex::ArgumentParseError

Inherits:
ArgumentError
  • Object
show all
Includes:
Exception
Defined in:
lib/rex/exceptions.rb

Overview

This exception is raised when an argument that was supplied to a method could not be parsed correctly.

Instance Method Summary collapse

Constructor Details

#initialize(msg = "The argument could not be parsed correctly.") ⇒ ArgumentParseError

Returns a new instance of ArgumentParseError.



79
80
81
# File 'lib/rex/exceptions.rb', line 79

def initialize(msg = "The argument could not be parsed correctly.")
  super(msg)
end