PaperCreateError
public enum PaperCreateError : CustomStringConvertible, JSONRepresentable
The PaperCreateError union
-
Your account does not have permissions to edit Paper docs.
Declaration
Swift
case insufficientPermissions
-
The provided content was malformed and cannot be imported to Paper.
Declaration
Swift
case contentMalformed
-
The Paper doc would be too large, split the content into multiple docs.
Declaration
Swift
case docLengthExceeded
-
The imported document contains an image that is too large. The current limit is 1MB. This only applies to HTML with data URI.
Declaration
Swift
case imageSizeExceeded
-
An unspecified error.
Declaration
Swift
case other
-
The file could not be saved to the specified location.
Declaration
Swift
case invalidPath
-
The user’s email must be verified to create Paper docs.
Declaration
Swift
case emailUnverified
-
The file path must end in .paper.
Declaration
Swift
case invalidFileExtension
-
Paper is disabled for your team.
Declaration
Swift
case paperDisabled
-
Declaration
Swift
public var description: String { get }