index.js
function SpawnError (message, options) {
  return errorBase('SpawnError', function (message, options) {
    this.name = 'SpawnError'
    this.message = message
    this.code = options.code
    this.buffer = options.buffer
  }).call(this, message, options)
}
function SpawnError (message, options) {
  return errorBase('SpawnError', function (message, options) {
    this.name = 'SpawnError'
    this.message = message
    this.code = options.code
    this.buffer = options.buffer
  }).call(this, message, options)
}
function SpawnError ( message , options ) { return errorBase ( 'SpawnError' , function ( message , options ) { this . name = 'SpawnError' this . message = message this . code = options . code this . buffer = options . buffer } ) . call ( this , message , options ) }
> Custom error class that is thrown on error.

@param {String} `message`
@param {Object} `options`
@api private
> Custom error class that is thrown on error .