Front End Error Reporting

Following Khazhy's advice :)
does this have a test case