status-go
status-go copied to clipboard
improve login errors
Currently, on mobile and desktop, we check for the wrong password with the next condition
(or (= error "file is not a database") (string/starts-with? error "failed to set "))
which doesn't look great, we need to improve it, we should have error ids or smth
desktop discussion: https://github.com/status-im/status-desktop/issues/10819#issuecomment-1564102252