cterasdk.exceptions.direct module#

exception cterasdk.exceptions.direct.AuthorizationError(filename)#

Bases: DirectIOAPIError

exception cterasdk.exceptions.direct.BlockError(error, strerror, file_id, chunk)#

Bases: DirectIOError

Direct IO Block Error

Variables:

block (cterasdk.direct.exceptions.BlockInfo) – Block info

class cterasdk.exceptions.direct.BlockInfo(file_id, chunk)#

Bases: object

Block Info

Variables:
  • file_id (int) – File ID

  • number (int) – Block number

  • offset (int) – Block offset

  • length (int) – Block length

exception cterasdk.exceptions.direct.BlockListConnectionError(filename)#

Bases: DirectIOAPIError

exception cterasdk.exceptions.direct.BlockListTimeout(filename)#

Bases: DirectIOAPIError

exception cterasdk.exceptions.direct.BlockValidationException(file_id, chunk)#

Bases: BlockError

exception cterasdk.exceptions.direct.BlocksNotFoundError(filename)#

Bases: DirectIOAPIError

exception cterasdk.exceptions.direct.DecompressBlockError(file_id, chunk)#

Bases: BlockError

exception cterasdk.exceptions.direct.DecryptBlockError(file_id, chunk)#

Bases: BlockError

exception cterasdk.exceptions.direct.DecryptKeyError(filename)#

Bases: DirectIOError

exception cterasdk.exceptions.direct.DirectIOAPIError(error, strerror, filename)#

Bases: DirectIOError

Direct IO API Error

exception cterasdk.exceptions.direct.DirectIOError#

Bases: OSError

Base Exception for Direct IO Errors

exception cterasdk.exceptions.direct.DownloadConnectionError(file_id, chunk)#

Bases: BlockError

exception cterasdk.exceptions.direct.DownloadError(strerror, file_id, chunk)#

Bases: BlockError

exception cterasdk.exceptions.direct.DownloadTimeout(file_id, chunk)#

Bases: BlockError

exception cterasdk.exceptions.direct.InvalidRequest(filename)#

Bases: DirectIOAPIError

exception cterasdk.exceptions.direct.ObjectNotFoundError(filename)#

Bases: DirectIOAPIError

exception cterasdk.exceptions.direct.StreamError(filename, offset)#

Bases: DirectIOError

Stream Error

Variables:

offset (int) – Stream offset

exception cterasdk.exceptions.direct.UnsupportedStorageError(filename)#

Bases: DirectIOAPIError