Exception: Cassie::Statements::ExecutionError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/cassie/statements/execution/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#statementObject (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

#messageObject



11
12
13
# File 'lib/cassie/statements/execution/errors.rb', line 11

def message
  "Failed to execute statement: #{cql}"
end