Pope Leo XIII (Providentissimus Deus, and Denzinger’s 1951) had this to say:
“For all the books which the Church receives as sacred and canonical, are written wholly and entirely, with all their parts, at the dictation of the Holy Ghost; and so far is it from being possible that any error can co-exist with inspiration, that inspiration not only is essentially incompatible with error, but excludes and rejects it as absolutely and necessarily as it is impossible that God Himself, the supreme Truth, can utter that which is not true.”
DISCLAIMER: Catholic Answers has turned over the archive to Catholic-Questions.org and no longer owns, manages, or moderates the forums. For additional apologetics resources please visit www.catholic.com.