Add position/size information to the error message