Exception: BugherdClient::Errors::InvalidQueryKey

Inherits:
StandardError
  • Object
show all
Defined in:
lib/bugherd_client/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(given = '', valid_keys = []) ⇒ InvalidQueryKey

Returns a new instance of InvalidQueryKey.



17
18
19
# File 'lib/bugherd_client/errors.rb', line 17

def initialize(given = '', valid_keys = [])
  super("invalid query key: got #{given} but expected one of #{valid_keys.join(',')}")
end