DBFILESPaperUpdateErrorTag

Objective-C

enum DBFILESPaperUpdateErrorTag : NSInteger {}

Swift

@frozen enum DBFILESPaperUpdateErrorTag : Int, @unchecked Sendable

The DBFILESPaperUpdateErrorTag enum type represents the possible tag states with which the DBFILESPaperUpdateError union can exist.

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

    Declaration

    Objective-C

    DBFILESPaperUpdateErrorInsufficientPermissions

    Swift

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

    Declaration

    Objective-C

    DBFILESPaperUpdateErrorContentMalformed

    Swift

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

    Declaration

    Objective-C

    DBFILESPaperUpdateErrorDocLengthExceeded

    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

    DBFILESPaperUpdateErrorImageSizeExceeded

    Swift

    case imageSizeExceeded = 3
  • (no description).

    Declaration

    Objective-C

    DBFILESPaperUpdateErrorOther

    Swift

    case other = 4
  • (no description).

    Declaration

    Objective-C

    DBFILESPaperUpdateErrorPath

    Swift

    case path = 5
  • The provided revision does not match the document head.

    Declaration

    Objective-C

    DBFILESPaperUpdateErrorRevisionMismatch

    Swift

    case revisionMismatch = 6
  • This operation is not allowed on archived Paper docs.

    Declaration

    Objective-C

    DBFILESPaperUpdateErrorDocArchived

    Swift

    case docArchived = 7
  • This operation is not allowed on deleted Paper docs.

    Declaration

    Objective-C

    DBFILESPaperUpdateErrorDocDeleted

    Swift

    case docDeleted = 8