Exception: TinyDyno::Errors::HashKeyOnly
- Inherits:
-
TinyDynoError
- Object
- StandardError
- TinyDynoError
- TinyDyno::Errors::HashKeyOnly
- Defined in:
- lib/tiny_dyno/errors/hash_key_errors.rb
Overview
This error is raised, when a query is performed with fields specified that are not HashKeys, which would result in a table scan
Constant Summary
Constants inherited from TinyDynoError
Instance Method Summary collapse
-
#initialize(klass:, name:) ⇒ HashKeyOnly
constructor
Create the new error.
Methods inherited from TinyDynoError
Constructor Details
#initialize(klass:, name:) ⇒ HashKeyOnly
Create the new error.
70 71 72 73 74 |
# File 'lib/tiny_dyno/errors/hash_key_errors.rb', line 70 def initialize(klass:, name:) super( ("only search for hash keys", { klass: klass.name, name: name }) ) end |