Adding connection error state

This commit is contained in:
Jonathan Guthrie 2017-08-17 13:28:12 -04:00
parent f2f54fe2ef
commit 45bb5ad7ab
1 changed files with 6 additions and 0 deletions

View File

@ -17,6 +17,9 @@ public enum StORMError: Error {
/// No error generated
case noError
/// Connection Error
case connectionError
/// Not Implemented
case notImplemented
@ -40,6 +43,9 @@ public enum StORMError: Error {
case .noError:
return "No Error"
case .connectionError:
return "Connection Error"
case .notImplemented:
return "Not Implemented"