Might think a bit more about semantics in Error enum. isCritical can be misleading because LOCKOUT is not critical, it just means that user has to wait for retry.
I personally think we should introduce something like Severity so that we can have better granulation over enums.
Might think a bit more about semantics in
Error
enum.isCritical
can be misleading becauseLOCKOUT
is not critical, it just means that user has to wait for retry.I personally think we should introduce something like
Severity
so that we can have better granulation over enums.