Finite-dimensional approximation and error bounds for spectral systems