Created
January 10, 2021 11:00
-
-
Save auyanik/9e1ea060b1544a1f531881d1a51609cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun errors(statusCode: Int){ | |
when(statusCode){ | |
RECAPTCHA_INVALID_KEYTYPE -> { | |
Timber.d("Kopyaladığınız \"site key\" doğruluğundan emin olun" ) | |
} | |
RECAPTCHA_INVALID_PACKAGE_NAME -> { | |
Timber.d("Yanlış paket adı.\"Packages\" kısmına doğru paket adını eklediğinizden emin olun" ) | |
} | |
TIMEOUT -> { | |
Timber.d("Captcha zaman aşımına uğradı yeniden yükleyin" ) | |
} | |
VERIFY_APPS_NOT_AVAILABLE -> { | |
Timber.d("Captcha bu cihazda desteklenmiyor" ) | |
} | |
. | |
. | |
. | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment