Enumeration
OLEError
public enum OLEError: Error, Equatable, CustomStringConvertible
Relationships
Conforms To
CustomStringConvertible
Equatable
Error
Enumeration Cases
incorrectCLSID
case incorrectCLSID
incompleteHeader
case incompleteHeader
duplicateRootEntry
case duplicateRootEntry
invalidEmptyStream
case invalidEmptyStream
bigEndianNotSupported
case bigEndianNotSupported
fileIsNotOLE
case fileIsNotOLE(String)
fileDoesNotExist
case fileDoesNotExist(String)
incorrectHeaderReservedBytes
case incorrectHeaderReservedBytes
incorrectStorageType
case incorrectStorageType(actual: UInt8)
invalidFATSector
case invalidFATSector(byteOffset: UInt64)
incorrectRootEntry
case incorrectRootEntry(actual: StorageType)
directoryEntryIsNotAStream
case directoryEntryIsNotAStream(name: String)
fileNotAvailableForReading
case fileNotAvailableForReading(path: String)
incorrectDirectoryEntryColor
case incorrectDirectoryEntryColor(actual: UInt8)
streamTooLarge
case streamTooLarge(actual: UInt64, expected: Int)
invalidOLEStreamSectorID
case invalidOLEStreamSectorID(id: UInt32, total: Int)
sectorIndexInDIFATOOB
case sectorIndexInDIFATOOB(actual: UInt32, expected: Int)
incorrectSectorSize
case incorrectSectorSize(actual: UInt16, expected: UInt16)
directoryEntryIndexOOB
case directoryEntryIndexOOB(actual: UInt32, expected: Int)
incorrectDLLVersion
case incorrectDLLVersion(actual: UInt16, expected: [UInt16])
incorrectMiniSectorSize
case incorrectMiniSectorSize(actual: UInt16, expected: UInt16)
incorrectNumberOfFATSectors
case incorrectNumberOfFATSectors(actual: UInt32, expected: UInt32)
incorrectNumberOFDIFATSectors
case incorrectNumberOFDIFATSectors(actual: UInt32, expected: UInt32)
incorrectMiniStreamCutoffSize
case incorrectMiniStreamCutoffSize(actual: UInt32, expected: UInt32)
incompleteStream
case incompleteStream(firstSectorID: UInt32, actual: Int, expected: UInt64)
incorrectNumberOfDirectorySectors
case incorrectNumberOfDirectorySectors(actual: UInt32, expected: UInt32)
Properties
description
public var description: String