The class/line where the error occurred should be stored too.