Exception: Rex::AmbiguousArgumentError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Rex::AmbiguousArgumentError
- Includes:
- Exception
- Defined in:
- lib/rex/exceptions.rb
Overview
This exception is raised when an argument is ambiguous.
Instance Method Summary collapse
-
#initialize(name = nil) ⇒ AmbiguousArgumentError
constructor
A new instance of AmbiguousArgumentError.
- #to_s ⇒ Object
Constructor Details
#initialize(name = nil) ⇒ AmbiguousArgumentError
Returns a new instance of AmbiguousArgumentError.
92 93 94 |
# File 'lib/rex/exceptions.rb', line 92 def initialize(name = nil) @name = name end |
Instance Method Details
#to_s ⇒ Object
96 97 98 |
# File 'lib/rex/exceptions.rb', line 96 def to_s "The name #{@name} is ambiguous." end |