Enhance error handling: split exception from the Error frame (see also #10)