locopy.errors module

Custom errors for locopy.

exception locopy.errors.CompressionError[source]

Bases: LocopyError

Raised when there is an error compressing a file.

exception locopy.errors.CredentialsError[source]

Bases: DBError

Raised when the users credentials are not provided.

exception locopy.errors.DBError[source]

Bases: Exception

Base class for all Database errors.

exception locopy.errors.LocopyConcatError[source]

Bases: LocopyError

Raised when there is an error concatenating files.

exception locopy.errors.LocopyError[source]

Bases: Exception

Baseclass for all Locopy errors.

exception locopy.errors.LocopyIgnoreHeaderError[source]

Bases: LocopyError

Raised when Multiple IGNOREHEADERS are found in copy options.

exception locopy.errors.LocopySplitError[source]

Bases: LocopyError

Raised when there is an error splitting a file.

exception locopy.errors.S3CredentialsError[source]

Bases: S3Error

Raised when there is an error with AWS credentials.

exception locopy.errors.S3DeletionError[source]

Bases: S3Error

Raised when there is an deletion error on S3.

exception locopy.errors.S3DownloadError[source]

Bases: S3Error

Raised when there is an download error to S3.

exception locopy.errors.S3Error[source]

Bases: Exception

Base class for all S3 errors.

exception locopy.errors.S3InitializationError[source]

Bases: S3Error

Raised when there is an error initializing S3 client.

exception locopy.errors.S3UploadError[source]

Bases: S3Error

Raised when there is an upload error to S3.