IOErrorReason

public enum IOErrorReason

The possible underlying reasons for file system errors.

  • A file or directory already exists.

    Declaration

    Swift

    case alreadyExists(message: String)
  • A file or directory could not be found.

    Declaration

    Swift

    case notFound(message: String)
  • The operation failed due to insufficient permissions.

    Declaration

    Swift

    case permissionDenied(message: String)
  • The operation failed for an unspecified reason. See error message for details.

    Declaration

    Swift

    case operationFailed(message: String)