     self._nsError = error
   }
 
-  public static var _nsErrorDomain: String { return NSURLErrorDomain }
+  public static var errorDomain: String { return NSURLErrorDomain }
 
   /// The error code itself.
   public struct Code : RawRepresentable, Hashable, _ErrorCodeProtocol {

    self._nsError = error
  }

  public static var _nsErrorDomain: String { return NSPOSIXErrorDomain }

  public typealias Code = POSIXErrorCode
}

  // FIXME: Would prefer to have a clear "extract an NSError
  // directly" operation.

  // Synthesized by the compiler.
  // static var errorDomain: String

  var errorCode: Int { return _nsError.code }

