Adding more informative error information