Exception: Db2Query::QueryArgumentError
- Inherits:
-
StandardError
- Object
- StandardError
- Db2Query::QueryArgumentError
- Defined in:
- lib/db2_query/error.rb
Instance Method Summary collapse
-
#initialize(query_name, arg_key) ⇒ QueryArgumentError
constructor
A new instance of QueryArgumentError.
- #message ⇒ Object
Constructor Details
#initialize(query_name, arg_key) ⇒ QueryArgumentError
Returns a new instance of QueryArgumentError.
83 84 85 86 87 |
# File 'lib/db2_query/error.rb', line 83 def initialize(query_name, arg_key) @query_name = query_name @arg_key = arg_key super() end |
Instance Method Details
#message ⇒ Object
89 90 91 |
# File 'lib/db2_query/error.rb', line 89 def "Data type of `#{@arg_key}` not found at `:#{@query_name}` query definitions" end |