code: function createIsDirError (path) {
    var error = new Error('EISDIR, illegal operation on directory \'' + path + '\'')
    error.code = 'EISDIR'
    error.errno = 28
    error.path = path
    error.syscall = 'open'
    return error
  }
docs: Create EISDIR error.
  
  @private
  @param {string} path
  @return {Error}