CryptorError

public enum CryptorError : Swift.Error, CustomStringConvertible

CryptorError Thrown in caaes where a fatalError() is NOT appropriate.

  • Success

    Declaration

    Swift

    case success
  • Invalid key size

    Declaration

    Swift

    case invalidKeySize
  • Invalid IV size

    Declaration

    Swift

    case invalidIVSizeOrLength
  • Fail with code and string

    Declaration

    Swift

    case fail(Int32, String)
  • The error code itself

    Declaration

    Swift

    public var errCode: Int32 { get }
  • Error Description

    Declaration

    Swift

    public var description: String { get }