lib/errors/cast.js
function CastError (type, value) {
  NeopreneError.call(this, 'Cast to ' + type + ' failed for value "' + value + '"');
  Error.captureStackTrace(this, arguments.callee);
  this.name = 'CastError';
  this.type = type;
  this.value = value;
}
function CastError (type, value) {
  NeopreneError.call(this, 'Cast to ' + type + ' failed for value "' + value + '"');
  Error.captureStackTrace(this, arguments.callee);
  this.name = 'CastError';
  this.type = type;
  this.value = value;
}
function CastError ( type , value ) { NeopreneError . call ( this , 'Cast to ' + type + ' failed for value "' + value + '"' ) ; Error . captureStackTrace ( this , arguments . callee ) ; this . name = 'CastError' ; this . type = type ; this . value = value ; }
Casting Error constructor.

@param {String} type
@param {String} value
@inherits NeopreneError
@api private
Casting Error constructor .