diff --git a/doc/api/esm.md b/doc/api/esm.md index 85a7146fc13f46..8d1980a4e0c6ad 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -1016,6 +1016,8 @@ The resolver can throw the following errors: subpath in the package for the given module. * _Package Import Not Defined_: Package imports do not define the specifier. * _Module Not Found_: The package or module requested does not exist. +* _Unsupported Directory Import_: The resolved path corresponds to a directory, + which is not a supported target for module imports. ### Resolver Algorithm Specification