Catch and report server-side errors