DeficiencyData

@objcMembers
@objc(BMPDeficiencyData)
public class DeficiencyData : NSObject

Provides additional data about a deficiency (error or warning).

  • Code for the deficiency

    Declaration

    Swift

    public let code: Int
  • Message associated with the deficiency

    Declaration

    Swift

    public let message: String
  • Underlying error if available

    Declaration

    Swift

    public let underlyingError: NSError?
  • Declaration

    Swift

    public convenience init(error: Error)
  • Declaration

    Swift

    public convenience init(error: Error, code: Int?)
  • Declaration

    Swift

    public init(code: Int, message: String, underlyingError: NSError? = nil)
  • Declaration

    Swift

    override public func isEqual(_ object: Any?) -> Bool