cloudinary / cloudinary/pycloudinary

Feature: Bad Format exception

Ouverte
#266 2 commentaires 0 réactions 1 personne assignée Réclamée par @const-cloudinary Voir sur GitHub
Langage dominant
Python
Étoiles
262
Forks
134
Merge moyen
5 h 6 min
PR mergées (30 j)
5

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.