DBFILESPaperCreateErrorTag

Objective-C

enum DBFILESPaperCreateErrorTag : NSInteger {}

Swift

@frozen enum DBFILESPaperCreateErrorTag : Int, @unchecked Sendable

The DBFILESPaperCreateErrorTag enum type represents the possible tag states with which the DBFILESPaperCreateError union can exist.

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

    Declaration

    Objective-C

    DBFILESPaperCreateErrorInsufficientPermissions

    Swift

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

    Declaration

    Objective-C

    DBFILESPaperCreateErrorContentMalformed

    Swift

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

    Declaration

    Objective-C

    DBFILESPaperCreateErrorDocLengthExceeded

    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

    DBFILESPaperCreateErrorImageSizeExceeded

    Swift

    case imageSizeExceeded = 3
  • (no description).

    Declaration

    Objective-C

    DBFILESPaperCreateErrorOther

    Swift

    case other = 4
  • The file could not be saved to the specified location.

    Declaration

    Objective-C

    DBFILESPaperCreateErrorInvalidPath

    Swift

    case invalidPath = 5
  • The user’s email must be verified to create Paper docs.

    Declaration

    Objective-C

    DBFILESPaperCreateErrorEmailUnverified

    Swift

    case emailUnverified = 6
  • The file path must end in .paper.

    Declaration

    Objective-C

    DBFILESPaperCreateErrorInvalidFileExtension

    Swift

    case invalidFileExtension = 7
  • Paper is disabled for your team.

    Declaration

    Objective-C

    DBFILESPaperCreateErrorPaperDisabled

    Swift

    case paperDisabled = 8