79102467

Date: 2024-10-18 14:21:24
Score: 0.5
Natty:
Report link

Found a way to do this: will continue to test but I used the following code and it seems to work.

      }catch (e: CognitoIdentityProviderException) {
        val exceptionName = e::class.simpleName
        Log.d("Exception", exceptionName.toString() + e.message)
        setAuthenticationErrorMessage("$exceptionName: ${e.message}")
      }
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: RJA