Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Bad Format exception #266

Open
tgdn opened this issue Jan 5, 2021 · 2 comments
Open

Feature: Bad Format exception #266

tgdn opened this issue Jan 5, 2021 · 2 comments
Assignees

Comments

@tgdn
Copy link

tgdn commented Jan 5, 2021

Feature request for Cloudinary Python SDK

Explain your use case

At the moment, specifying allowed_formats only raises a general Error when the file is of the wrong file type: ie: Raw file format txt not allowed

Describe the problem you’re trying to solve

Having a specific type of exception such as BadFormat/BadFileType would allow us to handle it in a cleaner fashion.

Do you have a proposed solution?

Yes, implement an exception which is raised if the server returns a certain type of error.

@tgdn tgdn changed the title Bad Format exception Feature: Bad Format exception Jan 5, 2021
@aachal28
Copy link

aachal28 commented Oct 4, 2023

I would like to work on this. Can you assign it to me?

@PixelCook
Copy link

@aachal28 you can always submit a pull request 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants