NSError

public extension NSError

NSError Extension with helper computed properties.

  • Server Response Error Status.

    Note

    If the error is generated by UserAutoSDK, not from the server, this field will be nil.
    Declaration

    Swift

    var serverResponseErrorStatus: String? { get }
  • HTTP Response Status Code.

    Note

    If the error is generated by UsherAutoSDK, not from the server, this field will be -1.
    Declaration

    Swift

    var httpResponseStatusCode: Int { get }
  • Server Response Error Reason.

    Note

    If the error is generated by UsherAutoSDK, not from the server, this field will be nil.
    Declaration

    Swift

    var serverResponseErrorReason: String? { get }