Exception: BugherdClient::Errors::InvalidQueryKey
- Inherits:
-
StandardError
- Object
- StandardError
- BugherdClient::Errors::InvalidQueryKey
- Defined in:
- lib/bugherd_client/errors.rb
Instance Method Summary collapse
-
#initialize(given = '', valid_keys = []) ⇒ InvalidQueryKey
constructor
A new instance of InvalidQueryKey.
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 |