func TestFromQRCode(t *testing.T) {
    t.Run("FromQRCode no QR code", func(t *testing.T) {
        if err := FromQRCode("").Error(); !errors.Is(err, ErrNoQRCode) {
            t.Error(err)
        }