Skip to content

Errors

Error types used throughout FAST.

BucketLockStolenError

Bases: PermissionError

We expected to hold a lock on an S3 bucket but we don't.

BucketLockedError

Bases: PermissionError

An S3 bucket is locked by another instance of FAST.

InvalidFileIndexError

Bases: ValueError

index file is malformed

InvalidLabelError

Bases: ValueError

Something is wrong with a MAST dataset label.

InvalidLockError

Bases: PermissionError

The lock files in an S3 bucket are malformed or not owned by the appropriate actors.

LogFormatError

Bases: Exception

The FAST client's record of work it has already done is corrupt.