Fortunately you can find what the Church teaches on the bible from the Popes encyclicals and from the Vatican II document “Dei Verbum” also known as the “Dogmatic Constitution on Divine Revelation” Of course it restates Church dogma that the Holy Spirit can’t make errors, then it states :
“everything asserted by the inspired authors or sacred writers must be held to be asserted by the Holy Spirit”
The Popes encyclicals which over and over state the innerrancy of scripture are the following.
Providentissimus Deus," by Pope Leo XIII
This one is excellent, and fairly easy to understand, because it was the first one to address the false teachings that bible taught error. And the Church does teach the bible literally. He states we must interpret the bible literally except when unless it is impossible to do so. He teaches infallibly:
“not to depart from the literal and obvious sense, except only where reason makes it untenable or necessity requires”.
The others get a little harder, because they assume the teachings of the first one and build up upon it.
They are:
SPIRITUS PARACLITUS , 1920
PASCENDI DOMINICI GREGIS 1907
DIVINO AFFLANTE SPIRITU 1943
HUMANI GENERIS 1950
All the teachings by the Popes clearly stated or defined in them are infallible.
Also the teachings of the
Pontifical Biblical Commission between 1905-1915
are infallible, because Pope Pius X required that all Catholics accept its decisions in two letters written by him.
This is very good for refuting liberal errors. It also re-affirms the constant Church teaching the the books of the bible were written by the authors attributed to them. In other words, Matthew, Mark, Luke and John wrote the Gospels attrributed to them, and in that order.
And the new Catechism has some teachings on bible interpretation.
Code:
The reason Jesus was so emphatic on the authority of Peter, was because He knew sinful man would constantly try to reject His teachings. Our faith is in Jesus, not scripture scholars who all taught error.
I have learned from over 30 years of trying to learn the truth within the Catholic Church, that FIRST one must find out what the Popes teach in their official writings or teachings, or what they approve of, (such as General Church councils like the Council of Trent, Vatican I, Vatican II, the Roman Catechism, the new Catechism of the Catholic Church, etc) Do not waste time on anyone else. Do not trust anyone else, even the old Catholic Encyclopedia has many errors. After learning them, then to some extent you can read those who are faithful to Church teachings, such as Father William Most who wrote the book defending the inerrancy of scripture "Free From All Error"