PaperDocUpdateError

public enum PaperDocUpdateError : CustomStringConvertible, JSONRepresentable

The PaperDocUpdateError union

  • Your account does not have permissions to perform this action. This may be due to it only having access to Paper as files in the Dropbox filesystem. For more information, refer to the Paper Migration Guide https://www.dropbox.com/lp/developers/reference/paper-migration-guide.

    Declaration

    Swift

    case insufficientPermissions
  • An unspecified error.

    Declaration

    Swift

    case other
  • The required doc was not found.

    Declaration

    Swift

    case docNotFound
  • The provided content was malformed and cannot be imported to Paper.

    Declaration

    Swift

    case contentMalformed
  • The provided revision does not match the document head.

    Declaration

    Swift

    case revisionMismatch
  • The newly created 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
  • 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 }