Minor addition of error code