chromium/third_party/blink/web_tests/external/wpt/workers/modules/resources/throw.js

throw new Error('custom message');