PaperUpdateError
public enum PaperUpdateError : CustomStringConvertible, JSONRepresentable
The PaperUpdateError 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
-
An unspecified error.
Declaration
Swift
case path(Files.LookupError)
-
The provided revision does not match the document head.
Declaration
Swift
case revisionMismatch
-
This operation is not allowed on archived Paper docs.
Declaration
Swift
case docArchived
-
This operation is not allowed on deleted Paper docs.
Declaration
Swift
case docDeleted
-
Declaration
Swift
public var description: String { get }