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
DBFILESPaperCreateErrorInsufficientPermissionsSwift
case insufficientPermissions = 0 -
The provided content was malformed and cannot be imported to Paper.
Declaration
Objective-C
DBFILESPaperCreateErrorContentMalformedSwift
case contentMalformed = 1 -
The Paper doc would be too large, split the content into multiple docs.
Declaration
Objective-C
DBFILESPaperCreateErrorDocLengthExceededSwift
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
DBFILESPaperCreateErrorImageSizeExceededSwift
case imageSizeExceeded = 3 -
(no description).
Declaration
Objective-C
DBFILESPaperCreateErrorOtherSwift
case other = 4 -
The file could not be saved to the specified location.
Declaration
Objective-C
DBFILESPaperCreateErrorInvalidPathSwift
case invalidPath = 5 -
The user’s email must be verified to create Paper docs.
Declaration
Objective-C
DBFILESPaperCreateErrorEmailUnverifiedSwift
case emailUnverified = 6 -
The file path must end in .paper.
Declaration
Objective-C
DBFILESPaperCreateErrorInvalidFileExtensionSwift
case invalidFileExtension = 7 -
Paper is disabled for your team.
Declaration
Objective-C
DBFILESPaperCreateErrorPaperDisabledSwift
case paperDisabled = 8
View on GitHub
DBFILESPaperCreateErrorTag Enumeration Reference