Add more specific AccountError cases per API

This commit is contained in:
Angelo Stavrow 2020-08-17 13:16:58 -04:00
parent c5b18a2440
commit 8f6e5b9a0a
No known key found for this signature in database
GPG Key ID: 1A49C7064E060EEE

View File

@ -1,7 +1,8 @@
import Foundation
enum AccountError: Error {
case invalidCredentials
case invalidPassword
case usernameNotFound
case serverNotFound
}