ParameterEncodingFailureReason
public enum ParameterEncodingFailureReason : Sendable
The underlying reason the .parameterEncodingFailed
error occurred.
-
The
URLRequest
did not have aURL
to 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)