<!--
{
  "availability" : [
    "iOS: 2.0.0 - 7.0.0",
    "iPadOS: 2.0.0 - 7.0.0",
    "tvOS: 9.0.0 - 9.0.0",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: 2.0.0 - 2.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/CFURLError",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Core Foundation"
    ],
    "preciseIdentifier" : "c:@E@CFURLError"
  },
  "title" : "CFURLError"
}
-->

# CFURLError

`CFURL` error codes.

```
enum CFURLError
```

## Topics

### Constants

[`CFURLError.unknownError`](/documentation/CoreFoundation/CFURLError/unknownError)

Indicates an unknown error.

[`CFURLError.unknownSchemeError`](/documentation/CoreFoundation/CFURLError/unknownSchemeError)

Indicates that the scheme is not recognized.

[`CFURLError.resourceNotFoundError`](/documentation/CoreFoundation/CFURLError/resourceNotFoundError)

Indicates a resource was not found.

[`CFURLError.resourceAccessViolationError`](/documentation/CoreFoundation/CFURLError/resourceAccessViolationError)

Indicates an error in accessing a resource.

[`CFURLError.remoteHostUnavailableError`](/documentation/CoreFoundation/CFURLError/remoteHostUnavailableError)

Indicates a remote host is unavailable.

[`CFURLError.improperArgumentsError`](/documentation/CoreFoundation/CFURLError/improperArgumentsError)

Indicates one or more arguments are improper.

[`CFURLError.unknownPropertyKeyError`](/documentation/CoreFoundation/CFURLError/unknownPropertyKeyError)

Indicates a property key is unknown.

[`CFURLError.propertyKeyUnavailableError`](/documentation/CoreFoundation/CFURLError/propertyKeyUnavailableError)

Indicates a property key was unavailable.

[`CFURLError.timeoutError`](/documentation/CoreFoundation/CFURLError/timeoutError)

Indicates a timeout.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)