Exception: Wowr::Exceptions::InvalidSearchType
- Inherits:
-
SearchError
- Object
- StandardError
- SearchError
- Wowr::Exceptions::InvalidSearchType
- Defined in:
- lib/wowr/exceptions.rb
Instance Method Summary collapse
-
#initialize(string) ⇒ InvalidSearchType
constructor
A new instance of InvalidSearchType.
Constructor Details
#initialize(string) ⇒ InvalidSearchType
Returns a new instance of InvalidSearchType.
74 75 76 |
# File 'lib/wowr/exceptions.rb', line 74 def initialize(string) super "'#{string}' is not a valid search type." end |