4 PP0021
Sebastian Markbåge edited this page 2018-01-16 19:19:44 -08:00

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.