public enum RequestErrorReason
Represents the error reason during networking request phase.
- emptyRequest: The request is empty. Code 1001.
- invalidURL: The URL of request is invalid. Code 1002.
- taskCancelled: The downloading task is cancelled by user. Code 1003.
The request is empty. Code 1001.
The URL of request is invalid. Code 1002.
- request: The request is tend to be sent but its URL is invalid.
case invalidURL(request: URLRequest)