diff --git a/doc/api/errors.md b/doc/api/errors.md index 0ba4aff5b206f3..cfe43c4ae5d5e1 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -344,7 +344,10 @@ 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. +* `:///url/to/module/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**.