Exception: TinyDyno::Errors::InvalidValueType
- Inherits:
-
TinyDynoError
- Object
- StandardError
- TinyDynoError
- TinyDyno::Errors::InvalidValueType
- Defined in:
- lib/tiny_dyno/errors/invalid_type_error.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:, value:) ⇒ InvalidValueType
constructor
Create the new error.
Methods inherited from TinyDynoError
Constructor Details
#initialize(klass:, name:, value:) ⇒ InvalidValueType
Create the new error.
18 19 20 21 22 |
# File 'lib/tiny_dyno/errors/invalid_type_error.rb', line 18 def initialize(klass:, name:, value:) super( ("value_not_typecasted", { klass: klass.name, name: name, value: value }) ) end |