jonsaw/amazon-cognito-identity-dart

Exception types in CognitoUser.getSession()?

Opened this issue · 0 comments

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.

Could these be changed to dedicated object for each cause?