mirror of
https://github.com/writeas/writefreely-swiftui-multiplatform.git
synced 2024-11-15 01:11:02 +00:00
Add more specific AccountError cases per API
This commit is contained in:
parent
c5b18a2440
commit
8f6e5b9a0a
@ -1,7 +1,8 @@
|
||||
import Foundation
|
||||
|
||||
enum AccountError: Error {
|
||||
case invalidCredentials
|
||||
case invalidPassword
|
||||
case usernameNotFound
|
||||
case serverNotFound
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user