The print function can now support NULL errors.