ParameterEncodingFailureReason

public enum ParameterEncodingFailureReason

The underlying reason the .parameterEncodingFailed error occurred.

  • The URLRequest did not have a URL to encode.

    Declaration

    Swift

    case missingURL
  • JSON serialization failed with an underlying system error during the encoding process.

    Declaration

    Swift

    case jsonEncodingFailed(error: Error)
  • Custom parameter encoding failed due to the associated Error.

    Declaration

    Swift

    case customEncodingFailed(error: Error)