lib/errors.js
function DriverError (message) {
  Error.call(this, message);
  Error.captureStackTrace(this, this.constructor);
  this.name = this.constructor.name;
  this.info = 'Cassandra Driver Error';
  // Explicitly set the message property as the Error.call() doesn't set the property on v8
  this.message = message;
}
function DriverError (message) {
  Error.call(this, message);
  Error.captureStackTrace(this, this.constructor);
  this.name = this.constructor.name;
  this.info = 'Cassandra Driver Error';
  // Explicitly set the message property as the Error.call() doesn't set the property on v8
  this.message = message;
}
function DriverError ( message ) { Error . call ( this , message ) ; Error . captureStackTrace ( this , this . constructor ) ; this . name = this . constructor . name ; this . info = 'Cassandra Driver Error' ; // Explicitly set the message property as the Error.call() doesn't set the property on v8 this . message = message ; }
Contains the error classes exposed by the driver.
@module errors
 
Base Error
@private
Contains the error classes exposed by the driver .