ArxivURLError
public enum ArxivURLError : Error
A URL error that can be passed to arXiv fetch task completion handler.
-
URLSessionDataTask
error. The associated value is an URLError.Declaration
Swift
case urlError(Error)
-
Returned when a
URLSessionDataTask
completion handler returns no error and returns a succesful HTTP response, but no data.This should never happen, but it is included to guard against crashes in corner cases,
Declaration
Swift
case unexpectedURLError