Add error handler to ASNetworkImageNodeDelegate

This commit is contained in:
Christoph Zelazowski
2016-01-19 19:55:22 -08:00
parent 46bcc90185
commit a02a60fa75
2 changed files with 17 additions and 4 deletions

View File

@@ -95,6 +95,16 @@ NS_ASSUME_NONNULL_BEGIN
@optional
/**
* Notification that the image node failed to download the image.
*
* @param imageNode The sender.
* @param error The error with details.
*
* @discussion Called on a background queue.
*/
- (void)imageNode:(ASNetworkImageNode *)imageNode didFailWithError:(NSError *)error;
/**
* Notification that the image node finished decoding an image.
*