StORMError is now actually an Error object
This commit is contained in:
parent
29c4a71dc3
commit
85ce18623f
|
@ -6,10 +6,10 @@
|
|||
//
|
||||
//
|
||||
|
||||
public enum StORMError: String {
|
||||
case database = "No Database Specified"
|
||||
case error = "Error"
|
||||
case noError = "No Error"
|
||||
public enum StORMError: Error {
|
||||
case database // "No Database Specified"
|
||||
case error(String) // "Error"
|
||||
case noError // "No Error"
|
||||
|
||||
init(){
|
||||
self = .noError
|
||||
|
|
Loading…
Reference in New Issue