BBSFileManagerErrorCode

public enum BBSFileManagerErrorCode : Int, CaseIterable

Enumeration for error codes of the BBSFileManager

  • Specified path does not exist.

    Declaration

    Swift

    case pathDoesNotExist = 100
  • Input or output error occurred during a low-level read or write operation.

    Declaration

    Swift

    case ioError = 101
  • Permissions error when attempting to access part of the filesystem.

    Declaration

    Swift

    case permissionError = 102
  • Attempt to delete a directory that was not empty.

    Declaration

    Swift

    case directoryNotEmpty = 103
  • There was a problem with the path.

    Declaration

    Swift

    case pathError = 104
  • Attempt to access “Ubiquitous” file or directory, i.e.\ one that is in “cloud” storage.

    Declaration

    Swift

    case iCloudNotSupported = 105
  • Specified path already exists.

    Declaration

    Swift

    case pathAlreadyExists = 106
  • Unable to delete backup.

    Declaration

    Swift

    case deleteBackupError = 107
  • Unable to preserve metadata from original file.

    Declaration

    Swift

    case preservingMetadataError = 108
  • The URL passed in was not a valid file URL.

    Declaration

    Swift

    case invalidFileURL = 109
  • Attempt to utilize unsupported interface.

    Declaration

    Swift

    case notSupported = 110
  • An unknown error occured.

    Declaration

    Swift

    case unknownError = 500