Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
Sebastian Markbåge edited this page Jan 17, 2018 · 4 revisions

Possible throw inside try/catch is not yet supported

This error indicates that an abstract function might be called within a try/catch, or that an error might be thrown due to type coercion. Currently we don't serialize try/catches around it so the behavior of the prepacked program might differ from the original.

A solution might be to move the try/catch outside the pure function (e.g. React component) being optimized.

The issue #1264 is tracking a permanent solution to this.