Web platform features explorer

Error cause

Widely available since 2024-03-20
Tags: javascript

The cause property of errors records the specific original cause of the error, particularly for errors that have been re-thrown.

Learn more

Browser support

  • Chrome 93 Released on 2021-08-31
  • Chrome Android 93 Released on 2021-08-31
  • Edge 93 Released on 2021-09-02
  • Firefox 91 Released on 2021-08-10
  • Firefox for Android 91 Released on 2021-08-10
  • Safari 15 Released on 2021-09-20
  • Safari on iOS 15 Released on 2021-09-20