Hi, I'm using your library in the Arduino-Pico repo, it's very nice - so thank you.
One extra thing I do though, since some bought pre-formatted SD cards come with the wrong partition style, is to flash my Pico LED a different number of times depending on if the SD card is detected vs if the volume can be started. This helps when people build my device, if they have bad soldering on the micro-sd socket then they get a different flashing message number to when the SD card has the wrong partition style.
I'm hoping you might make a change to this library to store which thing fails in the two cases? Currently we get back a bool from begin() which is the "and" condition for cardBegin(..) and volumeBegin() but being able to tell the difference between the failures will help me - I can say bad wires vs clean/reformat the SD card.
Anyway, thanks again, and if needs be I will continue to modify the begin() logic to set my own global variable on errors.