code: function isError(value) {
    if (!isObjectLike(value)) {
      return false;
    }
    return (objectToString.call(value) == errorTag) ||
      (typeof value.message == 'string' && typeof value.name == 'string');
  }
docs: Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,
  `SyntaxError`, `TypeError`, or `URIError` object.
  
  @static
  @memberOf _
  @since 3.0.0
  @category Lang
  @param {*} value The value to check.
  @returns {boolean} Returns `true` if `value` is an error object, else `false`.
  @example
  
  _.isError(new Error);
  // => true
  
  _.isError(Error);
  // => false