UploadSessionLookupError

public enum UploadSessionLookupError : CustomStringConvertible

The UploadSessionLookupError union

  • The upload session ID was not found or has expired. Upload sessions are valid for 48 hours.

    Declaration

    Swift

    case notFound
  • The specified offset was incorrect. See the value for the correct offset. This error may occur when a previous request was received and processed successfully but the client did not receive the response, e.g. due to a network error.

    Declaration

    Swift

    case incorrectOffset(Files.UploadSessionOffsetError)
  • You are attempting to append data to an upload session that has already been closed (i.e. committed).

    Declaration

    Swift

    case closed
  • The session must be closed before calling upload_session/finish_batch.

    Declaration

    Swift

    case notClosed
  • You can not append to the upload session because the size of a file should not reach the max file size limit (i.e. 350GB).

    Declaration

    Swift

    case tooLarge
  • An unspecified error.

    Declaration

    Swift

    case other
  • Declaration

    Swift

    public var description: String { get }