SBSDKErrorCode

enum SBSDKErrorCode : NSInteger {}

The error codes in the SBSDKErrorDomain.

  • The operation was cancelled.

    Declaration

    Objective-C

    SBSDKErrorOperationCancelled = 1

    Swift

    case SBSDKErrorOperationCancelled = 1
  • The image storage was invalid or nil.

    Declaration

    Objective-C

    SBSDKErrorInvalidImageStorage = 2

    Swift

    case SBSDKErrorInvalidImageStorage = 2
  • The image storage was invalid or nil.

    Declaration

    Objective-C

    SBSDKErrorImageStorageCopyingFailed = 3

    Swift

    case SBSDKErrorImageStorageCopyingFailed = 3
  • The image file did not contain valid image data.

    Declaration

    Objective-C

    SBSDKErrorInvalidImageData = 4

    Swift

    case SBSDKErrorInvalidImageData = 4
  • The file does not exist.

    Declaration

    Objective-C

    SBSDKErrorInvalidFileURL = 5

    Swift

    case SBSDKErrorInvalidFileURL = 5
  • There was an unknown error while rendering a PDF page.

    Declaration

    Objective-C

    SBSDKErrorPDFCreation = 6

    Swift

    case SBSDKErrorPDFCreation = 6
  • Optical text recognition failed.

    Declaration

    Objective-C

    SBSDKErrorTextRecognition = 7

    Swift

    case SBSDKErrorTextRecognition = 7
  • Page analysis failed.

    Declaration

    Objective-C

    SBSDKErrorPageAnalysis = 8

    Swift

    case SBSDKErrorPageAnalysis = 8
  • Language data for text recognition is missing.

    Declaration

    Objective-C

    SBSDKErrorOCRLanguageMissing = 9

    Swift

    case SBSDKErrorOCRLanguageMissing = 9
  • Some other error.

    Declaration

    Objective-C

    SBDKErrorUnknown = 999

    Swift

    case SBDKErrorUnknown = 999