Kingfisher Documentation

Enumeration Kingfisher​Error.​Processor​Error​Reason

public enum ProcessorErrorReason  

Represents the error reason during image processing phase.

  • processingFailed: Image processing fails. There is no valid output image from the processor. Code 4001.

Member Of

KingfisherError

Represents all the errors which can happen in Kingfisher framework. Kingfisher related methods always throw a KingfisherError or invoke the callback with KingfisherError as its error type. To handle errors from Kingfisher, you switch over the error to get a reason catalog, then switch over the reason to know error detail.

Enumeration Cases

processing​Failed

case processingFailed(processor: ImageProcessor, item: ImageProcessItem) 

Image processing fails. There is no valid output image from the processor. Code 4001.

  • processor: The ImageProcessor used to process the image or its data in item.

  • item: The image or its data content.