lib/types.js
function DriverError (message, constructor) {
  if (constructor) {
    Error.captureStackTrace(this, constructor);
    this.name = constructor.name;
  }
  this.message = message || 'Error';
  this.info = 'Cassandra Driver Error';
}
function DriverError (message, constructor) {
  if (constructor) {
    Error.captureStackTrace(this, constructor);
    this.name = constructor.name;
  }
  this.message = message || 'Error';
  this.info = 'Cassandra Driver Error';
}
function DriverError ( message , constructor ) { if ( constructor ) { Error . captureStackTrace ( this , constructor ) ; this . name = constructor . name ; } this . message = message || 'Error' ; this . info = 'Cassandra Driver Error' ; }
error classes 
Base Error
error classes Base Error