code: function error (err, file, name, options) {
    var message = err.message
    var column = err.column
    var line = err.line
    var type = err.name
    var method = 'message'
  
    if (options.throws) {
      method = 'fail'
    }
  
    file[method](
      message,
      { line: line, column: column },
      'parseFrontMatter:' + name + ':' + type
    )
  }
docs: Handles errors such as creating a new `vfile.message` when parsing fails
  err - The Error object produced
  name - The name of type of frontmatter, e.g. 'yaml'
  options - Any options