Adding connection error state
This commit is contained in:
parent
f2f54fe2ef
commit
45bb5ad7ab
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue