Adding connection error state
This commit is contained in:
parent
f2f54fe2ef
commit
45bb5ad7ab
|
@ -17,6 +17,9 @@ public enum StORMError: Error {
|
||||||
/// No error generated
|
/// No error generated
|
||||||
case noError
|
case noError
|
||||||
|
|
||||||
|
/// Connection Error
|
||||||
|
case connectionError
|
||||||
|
|
||||||
/// Not Implemented
|
/// Not Implemented
|
||||||
case notImplemented
|
case notImplemented
|
||||||
|
|
||||||
|
@ -40,6 +43,9 @@ public enum StORMError: Error {
|
||||||
case .noError:
|
case .noError:
|
||||||
return "No Error"
|
return "No Error"
|
||||||
|
|
||||||
|
case .connectionError:
|
||||||
|
return "Connection Error"
|
||||||
|
|
||||||
case .notImplemented:
|
case .notImplemented:
|
||||||
return "Not Implemented"
|
return "Not Implemented"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue