ParameterEncodingFailureReason
public enum ParameterEncodingFailureReason : Sendable
The underlying reason the .parameterEncodingFailed error occurred.
-
The
URLRequestdid not have aURLto encode.Declaration
Swift
case missingURL -
JSON serialization failed with an underlying system error during the encoding process.
Declaration
Swift
case jsonEncodingFailed(error: any Error) -
Custom parameter encoding failed due to the associated
Error.Declaration
Swift
case customEncodingFailed(error: any Error)
View on GitHub
Install in Dash