I've an Enum with generic type like this:
public enum ServiceError<FailureResponse: Decodable>: Swift.Error {
case other(Error)
case underlying(statusCode: Int, response: URLResponse)
case decodeError(error: FailureResponse?)
}
Can i set a default type to FailureResponse
? if I could do that, whoever uses my library would not be forced to pass the generic type