[TASK] Better error reporting in FE