cloudinary / cloudinary/pycloudinary

Feature: Bad Format exception

Aperta
#266 2 commenti 0 reazioni 1 assegnatario Rivendicata da @const-cloudinary Vedi su GitHub
Lingua principale
Python
Stelle
262
Fork
134
Merge medio
5h 6m
PR unite (30g)
5

Descrizione

# 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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.