Skip to content

Generalize exceptions #12

@rfrenchseti

Description

@rfrenchseti

Currently each cloud source (HTTP, GS, S3) has its own exceptions. The user of filecache should not need to know what these different exceptions are. Instead we should create general exceptions and group the cloud-specific exceptions into the new exceptions. For example, currently there are boto3.exceptions.S3UploadFailedError and google.api_core.exceptions.BadRequest for uploading to a bad bucket. These should instead raise a common error like UploadFailed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions