ResponseErrorReason

public enum ResponseErrorReason

Represents the error reason during networking response phase.

  • invalidURLResponse: The response is not a valid URL response. Code 2001.
  • invalidHTTPStatusCode: The response contains an invalid HTTP status code. Code 2002.
  • URLSessionError: An error happens in the system URL session. Code 2003.
  • dataModifyingFailed: Data modifying fails on returning a valid data. Code 2004.
  • noURLResponse: The task is done but no URL response found. Code 2005.