Open hacker1024 opened 4 years ago
In CognitoUser.getSession(), generic Exceptions are thrown. To differentiate between them, operations need to be done on the output from toString(), which isn't great.
CognitoUser.getSession()
Exception
toString()
Could these be changed to dedicated object for each cause?
In
CognitoUser.getSession()
, genericException
s are thrown. To differentiate between them, operations need to be done on the output fromtoString()
, which isn't great.Could these be changed to dedicated object for each cause?