We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f51658a commit c8578e2Copy full SHA for c8578e2
card/card.go
@@ -84,7 +84,7 @@ func DetectCardDocument(sc Card) (CardDocument, error) {
84
}
85
86
87
- return nil, errors.New("unexpected card type")
+ return nil, fmt.Errorf("unexpected card type (ATR: %s)", atr)
88
89
90
// Reads binary data from the card starting from the specified offset and with the specified length.
0 commit comments