             }
             
             self.executeClosureSyncOnMainQueueIfNecessary {
-                handler(nil, error ?? NSError(domain: ErrorDomain, code: ErrorType.cancelled.rawValue, userInfo: nil))
+                handler(nil, error ?? PositionErrorType.cancelled)
             }
         }
     }


/// 🛰 Position, Swift and efficient location positioning.
public class Position {
    
    // MARK: - singleton
    

                request.completed = true
                if request.expired {
                    self.executeClosureSyncOnMainQueueIfNecessary {
                        request.completionHandler?(nil, PositionErrorType.timedOut)
                    }
                } else {
                    self.executeClosureSyncOnMainQueueIfNecessary {
