# Status

    @objcMembers
    public class Status : NSObject

    extension Status: LocalizedError

Status class

Class holding all possible statuses and their descriptions the AB Circle SmartCard I/O Framework can return. This class is used as base for all classes in the AB Circle SmartCard I/O Framework that have methods returning or throwing error statuses.

Properties and methods to hold the last status code and its description are included, as well as getting the description of an entered statuscode.

- `StatusCode`

  Status code enumerator; holds all possible statuses returned or thrown by methods in this framework

  See more

  #### Declaration

  Swift

      @objc
      public enum StatusCode : Int, Error, CaseNameable

- `lastStatusCode`

  Returns the last statuscode of the current class (see enum StatusCode for possible values)

  #### Declaration

  Swift

      internal(set) public var lastStatusCode: StatusCode { get set }

- `lastStatusDescription`

  Returns the description of the last statuscode of the current class

  #### Declaration

  Swift

      @objc
      public var lastStatusDescription: String { get }

- `statusDescription(status:)`

  Returns the description of the entered statuscode

  #### Declaration

  Swift

      @objc
      public func statusDescription(status: StatusCode) -> String

  #### Parameters

  `status` | Statuscode (see enum StatusCode for possible values)

  #### Return Value

  String holding the description of the entered statuscode

- `errorDescription`

  Returns the description of the last statuscode of the current class

  #### Declaration

  Swift

      public var errorDescription: String? { get }

Copyright (c) 2018-2024, AB Circle Ltd. All rights reserved.

Generated by jazzy ♪♫ v0.14.3, a Realm project.