Changed NSURLDomain (typo) to NSURLErrorDomain