OfflineODataFailedRequest

public struct OfflineODataFailedRequest

Stores information about an OData request that failed against the backend.

  • The HTTP status code returned from the OData backend.

    Declaration

    Swift

    public private(set) var httpStatusCode: Int
  • The request identifier.

    Declaration

    Swift

    public private(set) var requestID: Int
  • A customized string that was used to tag the request.

    Declaration

    Swift

    public private(set) var customTag: String?
  • The error code returned in the OData error response from the OData backend.

    Declaration

    Swift

    public private(set) var errorCode: String
  • The error message returned in the OData error response from the OData backend.

    Declaration

    Swift

    public private(set) var errorMessage: String
  • The inner error returned in the OData error response from the OData backend.

    Declaration

    Swift

    public private(set) var innerError: String?
  • The HTTP method used for the request.

    Declaration

    Swift

    public private(set) var requestHTTPMethod: String
  • The request URL used when executing the request against the OData backend.

    Declaration

    Swift

    public private(set) var requestURL: URL
  • The JSON body sent to the OData backend.

    Declaration

    Swift

    public private(set) var requestBody: String?