PaperDocUpdateError

public enum PaperDocUpdateError : CustomStringConvertible

The PaperDocUpdateError union

  • Your account does not have permissions to perform this action.

    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. Note: 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 }