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