Skip to content

doc,tool: parse standard error types automatically? #5325

@estliberitas

Description

@estliberitas

Hi guys. I decided to move discussion here from #5322.

Currently errors.markdown has some unresolved links to standard errors description on MDN. Below there is a list of described errors:

  • EvalError
  • RangeError
  • ReferenceError
  • SyntaxError
  • TypeError
  • URIError

And also doc tool has type parser with list of global types.

Maybe add these errors to global types list, so it would be possible just use {SyntaxError}? Also this would save some bytes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.feature requestIssues that request new features to be added to Node.js.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions