QRCode login: treat not found error as expired error.
Reorder some when cases.
This commit is contained in:
parent
d693aeece4
commit
0311fc9f01
4 changed files with 10 additions and 4 deletions
|
|
@ -13,6 +13,7 @@ sealed class QrLoginException : Exception() {
|
|||
data object ConnectionInsecure : QrLoginException()
|
||||
data object Declined : QrLoginException()
|
||||
data object Expired : QrLoginException()
|
||||
data object NotFound : QrLoginException()
|
||||
data object LinkingNotSupported : QrLoginException()
|
||||
data object OidcMetadataInvalid : QrLoginException()
|
||||
data object SlidingSyncNotAvailable : QrLoginException()
|
||||
|
|
@ -20,5 +21,4 @@ sealed class QrLoginException : Exception() {
|
|||
data object CheckCodeAlreadySent : QrLoginException()
|
||||
data object CheckCodeCannotBeSent : QrLoginException()
|
||||
data object Unknown : QrLoginException()
|
||||
data object NotFound : QrLoginException()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue