print err codes