cterasdk.direct.exceptions module#
- exception cterasdk.direct.exceptions.BlockError(error, strerror, file_id, chunk)#
Bases:
DirectIOError
Direct IO Block Error
- Variables:
block (cterasdk.direct.exceptions.BlockInfo) – Block info
- class cterasdk.direct.exceptions.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.direct.exceptions.BlockListConnectionError(filename)#
Bases:
DirectIOAPIError
- exception cterasdk.direct.exceptions.BlockListTimeout(filename)#
Bases:
DirectIOAPIError
- exception cterasdk.direct.exceptions.BlockValidationException(file_id, chunk)#
Bases:
BlockError
- exception cterasdk.direct.exceptions.BlocksNotFoundError(filename)#
Bases:
DirectIOAPIError
- exception cterasdk.direct.exceptions.DecompressBlockError(file_id, chunk)#
Bases:
BlockError
- exception cterasdk.direct.exceptions.DecryptBlockError(file_id, chunk)#
Bases:
BlockError
- exception cterasdk.direct.exceptions.DecryptKeyError(filename)#
Bases:
DirectIOError
- exception cterasdk.direct.exceptions.DirectIOAPIError(error, strerror, filename)#
Bases:
DirectIOError
Direct IO API Error
- exception cterasdk.direct.exceptions.DirectIOError#
Bases:
OSError
Base Exception for Direct IO Errors
- exception cterasdk.direct.exceptions.DownloadConnectionError(file_id, chunk)#
Bases:
BlockError
- exception cterasdk.direct.exceptions.DownloadError(strerror, file_id, chunk)#
Bases:
BlockError
- exception cterasdk.direct.exceptions.DownloadTimeout(file_id, chunk)#
Bases:
BlockError
- exception cterasdk.direct.exceptions.NotFoundError(filename)#
Bases:
DirectIOAPIError
- exception cterasdk.direct.exceptions.StreamError(filename, offset)#
Bases:
DirectIOError
Stream Error
- Variables:
offset (int) – Stream offset
- exception cterasdk.direct.exceptions.UnAuthorized(filename)#
Bases:
DirectIOAPIError
- exception cterasdk.direct.exceptions.UnprocessableContent(filename)#
Bases:
DirectIOAPIError