Emit errors to current frame.
Wrap errors in Error object.
Make error messages more generic.