This packet is sent by the server to tell the client that an error has occurred.
errorCode (int): the error code. Consult the Cassandra documentation for details on the meaning of these codes.
errorMessage (string): the error message
errorBody (object): an object whose exact value depends on the value of errorCode (see below)
This packet type has no methods aside from the common ones.
Any error codes that do not have a special body listed here have no special body.
A property X can be accessed by invoking getX(), and changed using setX(value).
consistencyLevel (int): the consistency level of the query that triggered the exception
required (int): the number of nodes that should be alive to respect the consistency level
alive (int): the number of replicas that were known to be alive when the request was processed
consistencyLevel (int): the consistency level of the query that triggered the exception
received (int): the number of nodes that have acknowledged the request
blockFor (int): the number of replicas whose acknowledgement is required to achieve the requested consistency level
writeType (string): the type of the write that timed out
contentions (int): the number of contentions that occurred during the CAS operation
consistencyLevel (int): the consistency level of the query that triggered the exception
received (int): the number of nodes that have acknowledged the request
blockFor (int): the number of replicas whose acknowledgement is required to achieve the requested consistency level
dataPresent (byte): if 0, the replica that was asked for data has not responded
consistencyLevel (int): the consistency level of the query that triggered the exception
received (int): the number of nodes that have acknowledged the request
blockFor (int): the number of replicas whose acknowledgement is required to achieve the requested consistency level
addresses (list<InetAddress>): the endpoints that caused the error. The corresponding error code will be at the same index in failureCodes.
failureCodes (list<int>): the failure codes, in the same order as the endpoints
dataPresent (byte): if 0, the replica that was asked for data has not responded
keyspace (string): the keyspace of the function that caused the error
function (string): the name of the function that caused the error
argumentTypes (list<string>): the types of the arguments of the function that caused the error
consistencyLevel (int): the consistency level of the query that triggered the exception
received (int): the number of nodes that have acknowledged the request
blockFor (int): the number of replicas whose acknowledgement is required to achieve the requested consistency level
addresses (list<InetAddress>): the endpoints that caused the error. The corresponding error code will be at the same index in failureCodes.
failureCodes (list<int>): the failure codes, in the same order as the endpoints
writeType (string): the type of the write that failed
consistencyLevel (int): the consistency level of the query that triggered the exception
received (int): the number of nodes that have acknowledged the request
blockFor (int): the number of replicas whose acknowledgement is required to achieve the requested consistency level
keyspace (string): the keyspace of the table that already exists
table (string): the name of the table that already exists
statementId (byte[]): the unknown statement ID