Class PaperUpdateError


  • public final class PaperUpdateError
    extends java.lang.Object
    This class is a tagged union. Tagged unions instances are always associated to a specific tag. This means only one of the isAbc() methods will return true. You can use tag() to determine the tag associated with this instance.
    • Field Detail

      • INSUFFICIENT_PERMISSIONS

        public static final PaperUpdateError INSUFFICIENT_PERMISSIONS
        Your account does not have permissions to edit Paper docs.
      • CONTENT_MALFORMED

        public static final PaperUpdateError CONTENT_MALFORMED
        The provided content was malformed and cannot be imported to Paper.
      • DOC_LENGTH_EXCEEDED

        public static final PaperUpdateError DOC_LENGTH_EXCEEDED
        The Paper doc would be too large, split the content into multiple docs.
      • IMAGE_SIZE_EXCEEDED

        public static final PaperUpdateError IMAGE_SIZE_EXCEEDED
        The imported document contains an image that is too large. The current limit is 1MB. This only applies to HTML with data URI.
      • OTHER

        public static final PaperUpdateError OTHER
        Catch-all used for unknown tag values returned by the Dropbox servers.

        Receiving a catch-all value typically indicates this SDK version is not up to date. Consider updating your SDK version to handle the new tags.

      • REVISION_MISMATCH

        public static final PaperUpdateError REVISION_MISMATCH
        The provided revision does not match the document head.
      • DOC_ARCHIVED

        public static final PaperUpdateError DOC_ARCHIVED
        This operation is not allowed on archived Paper docs.
      • DOC_DELETED

        public static final PaperUpdateError DOC_DELETED
        This operation is not allowed on deleted Paper docs.