Exception: Wowr::Exceptions::InvalidSearchType

Inherits:
SearchError
  • Object
show all
Defined in:
lib/wowr/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(string) ⇒ InvalidSearchType

Returns a new instance of InvalidSearchType.



94
95
96
# File 'lib/wowr/exceptions.rb', line 94

def initialize(string)
	super "'#{string}' is not a valid search type."
end