Exception: Cassie::Statements::ExecutionError
- Defined in:
- lib/cassie/statements/execution/errors.rb
Instance Attribute Summary collapse
-
#statement ⇒ Object
readonly
Returns the value of attribute statement.
Instance Method Summary collapse
-
#initialize(statement) ⇒ ExecutionError
constructor
A new instance of ExecutionError.
- #message ⇒ Object
Constructor Details
#initialize(statement) ⇒ ExecutionError
Returns a new instance of ExecutionError.
6 7 8 9 |
# File 'lib/cassie/statements/execution/errors.rb', line 6 def initialize(statement) @statement = statement super end |
Instance Attribute Details
#statement ⇒ Object (readonly)
Returns the value of attribute statement.
4 5 6 |
# File 'lib/cassie/statements/execution/errors.rb', line 4 def statement @statement end |
Instance Method Details
#message ⇒ Object
11 12 13 |
# File 'lib/cassie/statements/execution/errors.rb', line 11 def "Failed to execute statement: #{cql}" end |