Exception: TinyDyno::Errors::NotTransparentlyCoercible
- Inherits:
-
TinyDynoError
- Object
- StandardError
- TinyDynoError
- TinyDyno::Errors::NotTransparentlyCoercible
- 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:) ⇒ NotTransparentlyCoercible
constructor
Create the new error.
Methods inherited from TinyDynoError
Constructor Details
#initialize(klass:, name:, value:) ⇒ NotTransparentlyCoercible
Create the new error.
44 45 46 47 48 |
# File 'lib/tiny_dyno/errors/invalid_type_error.rb', line 44 def initialize(klass:, name:, value:) super( ("can_not_coerce_transparently", { klass: klass.name, name: name, value: value }) ) end |