 
     fileprivate let rootContext: NSManagedObjectContext
     fileprivate let tag: String
-    fileprivate let errorHandlerBlock: (_ error: NSError) -> Void
+    fileprivate let errorHandlerBlock: AsynErrorHandlerBlock
 
     ///
     ///  Initializes the receiver with a managed object model.

/// logs those events, if you would like to handle them yourself, you can set an error block which will be called to allow you to take
/// an alternate action.
///
public typealias asynErrorHandlerBlock = (NSError) -> Void

///
///    A Core Data stack that can be customized with specific NSPersistentStoreCoordinator and a NSManagedObjectContext Context type.

        if let asyncErrorBlock = asyncErrorBlock {
            self.errorHandlerBlock = asyncErrorBlock
        } else {
            self.errorHandlerBlock = { (error: Error) -> Void in
                logError { "\(error)" }
            }
        }
        
