diff --git a/doc/api/errors.md b/doc/api/errors.md
index ba10a1510310cc..8e3a028d66d60e 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -2573,11 +2573,11 @@ disconnected socket.
A call was made and the UDP subsystem was not running.
-
+
-### `ERR_SOURCE_MAP_CANNOT_PARSE`
+### `ERR_SOURCE_MAP_CORRUPT`
-The source map could not be parsed because it does not exist, or is not valid JSON.
+The source map could not be parsed because it does not exist, or is corrupt.