cloudinary / cloudinary/pycloudinary

Feature: Bad Format exception

オープン
#266 コメント 2 件 リアクション 0 件 担当者 1 名 @const-cloudinary が担当を希望しています GitHub で見る
主要言語
Python
スター
262
フォーク
134
平均マージ
5時間 6分
マージ済み PR(30日)
5

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。