class SDClass {... Sd2Card card;...public:int error(void) { return card.errorCode(); }
Sounds like a good idea, if all errorcodes are documented, what they mean, cq how to solve (could be in a separate txt file, not in the SDclass)