AddPaperDocUserResult

public enum AddPaperDocUserResult : CustomStringConvertible, JSONRepresentable

The AddPaperDocUserResult union

  • User was successfully added to the Paper doc.

    Declaration

    Swift

    case success
  • Something unexpected happened when trying to add the user to the Paper doc.

    Declaration

    Swift

    case unknownError
  • The Paper doc can be shared only with team members.

    Declaration

    Swift

    case sharingOutsideTeamDisabled
  • The daily limit of how many users can be added to the Paper doc was reached.

    Declaration

    Swift

    case dailyLimitReached
  • Owner’s permissions cannot be changed.

    Declaration

    Swift

    case userIsOwner
  • User data could not be retrieved. Clients should retry.

    Declaration

    Swift

    case failedUserDataRetrieval
  • This user already has the correct permission to the Paper doc.

    Declaration

    Swift

    case permissionAlreadyGranted
  • An unspecified error.

    Declaration

    Swift

    case other
  • Declaration

    Swift

    public var description: String { get }