emit an error rather than throw
0.4.8