This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

The InternalError.prototype property represents the prototype of the InternalError constructor.

Property attributes of InternalError.prototype
Writable no
Enumerable no
Configurable no


All InternalError instances inherit from InternalError.prototype. You can use the prototype to add properties or methods to all instances.


Specifies the function that created an instance's prototype.
Error message. Inherited from Error.
Error name. Inherited from Error.
Path to file that raised this error. Inherited from Error.
Line number in file that raised this error. Inherited from Error.
Column number in line that raised this error. Inherited from Error.
Stack trace. Inherited from Error.


Although the InternalError prototype object does not contain any methods of its own, InternalError instances do inherit some methods through the prototype chain.


Not part of any specifications.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support No No Yes No No No
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidIE mobileOpera AndroidiOS Safari
Basic support No No No Yes No No No

See also

Document Tags and Contributors

 Contributors to this page: fscholz, Mingun
 Last updated by: fscholz,