node/lib/internal/debugger
Joyee Cheung be525d7d04
src: consolidate exit codes in the code base
Add an ExitCode enum class and use it throughout the code base
instead of hard-coding the exit codes everywhere. At the moment,
the exit codes used in many places do not actually conform to
what the documentation describes. With the new enums (which
are also available to the JS land as constants in an internal
binding) we could migrate to a more consistent usage of the
codes, and eventually expose the constants to the user land
when they are stable enough.

PR-URL: https://github.com/nodejs/node/pull/44746
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
2022-10-06 12:41:16 +00:00
..
inspect_client.js lib: refactor to use let 2021-10-09 17:22:56 +00:00
inspect_repl.js lib: use safe Promise alternatives when available 2022-08-27 11:37:01 +02:00
inspect.js src: consolidate exit codes in the code base 2022-10-06 12:41:16 +00:00