Exception: WaffleAPI::Error::UnknownKey
- Defined in:
- lib/waffle_api/errors.rb
Overview
If you raise this exception, please report it as an issue with it’s message on this gem repo
Instance Method Summary collapse
-
#initialize(key = '') ⇒ UnknownKey
constructor
A new instance of UnknownKey.
- #message(key = '') ⇒ Object
Constructor Details
#initialize(key = '') ⇒ UnknownKey
Returns a new instance of UnknownKey.
71 72 73 |
# File 'lib/waffle_api/errors.rb', line 71 def initialize(key = '') super key end |
Instance Method Details
#message(key = '') ⇒ Object
75 76 77 |
# File 'lib/waffle_api/errors.rb', line 75 def (key = '') "The key '#{key}' does not exist on Wafflepool api." end |