diff --git a/doc/api/errors.md b/doc/api/errors.md index 0ba4aff5b206f3..062af8138033d8 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -344,7 +344,9 @@ The location information will be one of: * `plain-filename.js:line:column`, if the frame represents a call internal to Node.js. * `/absolute/path/to/file.js:line:column`, if the frame represents a call in - a user program, or its dependencies. + a user program (using commonJS module system), or its dependencies. +* `:///file/url/path/to/file.mjs:line:column`, if the frame represents a call in + a user program (using ES module system), or its dependencies. The string representing the stack trace is lazily generated when the `error.stack` property is **accessed**.