Updated error outputs to be more relevant.