Implement  to print errors