class Cql::QueryError

This error type represents errors sent by the server, the ‘code` attribute can be used to find the exact type, and `cql` contains the request’s CQL, if any. ‘message` contains the human readable error message sent by the server.

Attributes

code[R]
cql[R]
details[R]

Public Class Methods

new(code, message, cql=nil, details=nil) click to toggle source
Calls superclass method
# File lib/cql/client.rb, line 13
def initialize(code, message, cql=nil, details=nil)
  super(message)
  @code = code
  @cql = cql
  @details = details
end