Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

errors: similar error codes [VALUE_OUT_OF_RANGE] and [OUT_OF_RANGE] #17603

Copy link
Copy link
@starkwang

Description

@starkwang
Issue body actions

Now there are two similar error codes in lib:

Should we reduce them into one?

IMHO, the error message of ERR_VALUE_OUT_OF_RANGE is more detailed instead of a simple string('The "%s" argument is out of range') of ERR_OUT_OF_RANGE, so we might be able to migrate the ERR_OUT_OF_RANGE into ERR_VALUE_OUT_OF_RANGE.

  • Version: nodejs/node:master
  • Platform: all
  • Subsystem: errors
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    errorsIssues and PRs related to JavaScript errors originated in Node.js core.Issues and PRs related to JavaScript errors originated in Node.js core.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.