diff --git a/doc/api/errors.md b/doc/api/errors.md index 6270c00f0b0974..fc6bd85d6854fd 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -2828,6 +2828,16 @@ Used when a given value is out of the accepted range. The module must be successfully linked before instantiation. + +### `ERR_WORKER_UNSUPPORTED_EXTENSION` + + +The pathname used for the main script of a worker has an +unknown file extension. + ### `ERR_ZLIB_BINDING_CLOSED`