cloudinary / cloudinary/pycloudinary

Feature: Bad Format exception

Đang mở
#266 2 bình luận 0 reaction 1 người được giao Được @const-cloudinary nhận Xem trên GitHub
Ngôn ngữ chính
Python
Star
262
Fork
134
Merge trung bình
5 giờ 6 phút
Pull request đã merge (30 ngày)
5

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.