dwolla-v2-python
dwolla-v2-python copied to clipboard
Using an expired Plaid token gets misleading error
When using Dwolla/Plaid tokenization to create a new funding source, if that token is no longer valide, a generic error happens :
dwollav2.error.Error: {"code":"UpdateCredentials","message":"The login details for this token have changed."}
The Error class is a little bit misleading, it will be easier to isolate this issue if the error was named .error.PlaidError or TokenError or even ValidationError like the rest.