DBFILESPaperContentErrorTag

Objective-C

enum DBFILESPaperContentErrorTag : NSInteger {}

Swift

@frozen enum DBFILESPaperContentErrorTag : Int, @unchecked Sendable

The DBFILESPaperContentErrorTag enum type represents the possible tag states with which the DBFILESPaperContentError union can exist.

  • Your account does not have permissions to edit Paper docs.

    Declaration

    Objective-C

    DBFILESPaperContentErrorInsufficientPermissions

    Swift

    case insufficientPermissions = 0
  • The provided content was malformed and cannot be imported to Paper.

    Declaration

    Objective-C

    DBFILESPaperContentErrorContentMalformed

    Swift

    case contentMalformed = 1
  • The Paper doc would be too large, split the content into multiple docs.

    Declaration

    Objective-C

    DBFILESPaperContentErrorDocLengthExceeded

    Swift

    case docLengthExceeded = 2
  • The imported document contains an image that is too large. The current limit is 1MB. This only applies to HTML with data URI.

    Declaration

    Objective-C

    DBFILESPaperContentErrorImageSizeExceeded

    Swift

    case imageSizeExceeded = 3
  • (no description).

    Declaration

    Objective-C

    DBFILESPaperContentErrorOther

    Swift

    case other = 4