Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

Include status code in FlickrError Exception #87

Open
gconst02 opened this issue May 13, 2017 · 1 comment
Open

Include status code in FlickrError Exception #87

gconst02 opened this issue May 13, 2017 · 1 comment

Comments

@gconst02
Copy link

Currently only the message is added, although the Flickr exception has code as optional parameter.

For example here:
https://github.com/sybrenstuvel/flickrapi/blob/master/flickrapi/auth.py#L265

Adding the status code will be helpful for specific exceptions that are retriable and will be handled differently than others.

@sybrenstuvel
Copy link
Owner

Good idea.

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

No branches or pull requests

2 participants