diff --git a/doc/api/errors.md b/doc/api/errors.md index accd4e3d230058..a22f125ce62c98 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**.