Error

enum Error

A type representing an error value that wont thrown but raise in debugger

  • When file not found

    Declaration

    Swift

    case notFound(at: URL?)
  • When file already deleted

    Declaration

    Swift

    case deleted(at: URL?)
  • When there is a problem with parsing to json

    Declaration

    Swift

    case parse(at: URL?)
  • When unknown error occurd by file manger

    Declaration

    Swift

    case filemanagerRemove(with: Swift.Error)
  • When AES encryption fail to use given key

    Declaration

    Swift

    case aesKeyFail(key: String)
  • When AES encryption fail to use given initial vector

    Declaration

    Swift

    case aesInitialVectorFail(iv: String)
  • When AES encryption fail to crypt with status

    Declaration

    Swift

    case aesCryptFail(status: Int32)
  • When given data was not in data fromat

    Declaration

    Swift

    case noData
  • When given string could not convert to utf8

    Declaration

    Swift

    case stringNotInUtf8
  • Identifier to search in debugger console

    Declaration

    Swift

    public static let identifier: String
  • Raise given error in debugger

    Declaration

    Swift

    public func raise()
  • A localized message describing what error occurred.

    Declaration

    Swift

    public var errorDescription: String? { get }