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.



74
75
76
# File 'lib/wowr/exceptions.rb', line 74

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