Commit aa33b88c authored by Zandor Smith's avatar Zandor Smith 💻

Add more api call errors.

parent 8a47386b
<?xml version="1.0" encoding="UTF-8"?>
version = "1.0">
location = "self:">
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
......@@ -8,6 +8,7 @@
import Foundation
public enum APICallError {
// Network related errors
case noInternet
case serverUnavailable
......@@ -19,11 +20,16 @@ public enum APICallError {
// API related errors
case receivedException
case invalidParameters
case missingParameters
case postContentInvalid
case sessionExpired
case loginExpired
case invalidCredentials
case accountInactive
case emailInUse // Registration
case passwordsNotMatching // Registration
case unexpectedResponse
case unknown
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment