TCBlobDownloadError Constants Reference
Declared in | TCBlobDownloader.h |
Availability | 1.5.0 |
TCBlobDownloadError
The possible error codes for a TCBlobDownloader
operation. When an error block or the corresponding delegate method are called, an NSError
instance is passed as parameter. If the domain of this NSError
is TCBlobDownload’s, the code
parameter will be set to one of these values.
Definition
typedef NS_ENUM(NSUInteger, TCBlobDownloadError ) {
TCBlobDownloadErrorInvalidURL = 0,
TCBlobDownloadErrorHTTPError,
TCBlobDownloadErrorNotEnoughFreeDiskSpace,
};
Constants
TCBlobDownloadErrorInvalidURL
-
NSURLConnection
was unable to handle the provided request.Declared In
TCBlobDownloader.h
. TCBlobDownloadErrorHTTPError
-
The connection encountered an HTTP error. Please refer to
TCHTTPStatusCode
documentation for further details on how to handle such errors.Declared In
TCBlobDownloader.h
. TCBlobDownloadErrorNotEnoughFreeDiskSpace
-
The device has not enough free disk space to download the file.
Declared In
TCBlobDownloader.h
.
Availability
1.5.0
Declared In
TCBlobDownloader.h