                 request.completed = true
                 if request.expired {
                     self.executeClosureSyncOnMainQueueIfNecessary {
-                        request.completionHandler?(nil, NSError(domain: ErrorDomain, code: ErrorType.timedOut.rawValue, userInfo: nil))
+                        request.completionHandler?(nil, PositionErrorType.timedOut)
                     }
                 } else {
                     self.executeClosureSyncOnMainQueueIfNecessary {


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

}

/// Position error domain
public let PositionErrorDomain = "PositionErrorDomain"

/// Possible error types
public enum PositionErrorType: Error, CustomStringConvertible {
    case timedOut
    case restricted
    case cancelled
    
