StORMError is now actually an Error object

This commit is contained in:
Jonathan Guthrie 2016-10-05 15:15:35 -04:00
parent 29c4a71dc3
commit 85ce18623f
1 changed files with 4 additions and 4 deletions

View File

@ -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