A geometric approach to error estimates for conservation laws posed on a spacetime