diff --git a/spec.html b/spec.html index 6b0f85cee2..0f9b7ab32a 100644 --- a/spec.html +++ b/spec.html @@ -30859,7 +30859,7 @@

Error Objects

Instances of Error objects are thrown as exceptions when runtime errors occur. The Error objects may also serve as base objects for user-defined exception classes.

-

When an ECMAScript implementation detects a runtime error, it throws a new instance of one of the _NativeError_ objects defined in or a new instance of AggregateError object defined in . Each of these objects has the structure described below, differing only in the name used as the constructor name instead of _NativeError_, in the *"name"* property of the prototype object, in the implementation-defined *"message"* property of the prototype object, and in the presence of the %AggregateError%-specific *"errors"* property.

+

When an ECMAScript implementation detects a runtime error, it throws a new instance of one of the _NativeError_ objects defined in or a new instance of the AggregateError object defined in .

The Error Constructor

@@ -30991,7 +30991,7 @@

URIError

_NativeError_ Object Structure

-

When an ECMAScript implementation detects a runtime error, it throws a new instance of one of the _NativeError_ objects defined in . Each of these objects has the structure described below, differing only in the name used as the constructor name instead of _NativeError_, in the *"name"* property of the prototype object, and in the implementation-defined *"message"* property of the prototype object.

+

Each of these objects has the structure described below, differing only in the name used as the constructor name and in the *"name"* property of the prototype object.

For each error object, references to _NativeError_ in the definition should be replaced with the appropriate error object name from .