Here is an example.
In the Xcode Doc when describing what error can be thrown by the JsonDecoder it says
"If the data is not valid JSON, this method throws the dataCorrupted error. If a value within the JSON fails to decode, this method throws the corresponding error."
But on the Web it shows
"If the data is not valid JSON, this method throws the DecodingError.dataCorrupted(_:) error. If a value within the JSON fails to decode, this method throws the corresponding error."
Giving the error enum as well.
Thanks