ds_protocol_sftp_py_lib.errors

File: errors.py Region: ds_protocol_sftp_py_lib/dataset

Description

SFTP dataset-specific exceptions.

Exceptions

FileExistsError

Raised when the target file already exists.

Module Contents

exception ds_protocol_sftp_py_lib.errors.FileExistsError(message: str = 'Target file already exists on SFTP server.', code: str = 'DS_DATASET_SFTP_FILE_EXISTS_ERROR', status_code: int = 409, details: dict[str, Any] | None = None)[source]

Bases: ds_resource_plugin_py_lib.common.resource.dataset.errors.DatasetException

Raised when the target file already exists.