Exception: Wowr::Exceptions::CharacterBelowMinLevel
- Inherits:
-
ElementNotFoundError
- Object
- StandardError
- ElementNotFoundError
- Wowr::Exceptions::CharacterBelowMinLevel
- Defined in:
- lib/wowr/exceptions.rb
Instance Method Summary collapse
-
#initialize(string) ⇒ CharacterBelowMinLevel
constructor
A new instance of CharacterBelowMinLevel.
Constructor Details
#initialize(string) ⇒ CharacterBelowMinLevel
Returns a new instance of CharacterBelowMinLevel.
115 116 117 |
# File 'lib/wowr/exceptions.rb', line 115 def initialize(string) super "Character with name '#{string}' is below min level (10)." end |