There is no reason any more for application code to show error messages in a panel. Just return an error instead.