mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[PR #543] [MERGED] Give a reason for player errors in SpotifyException #933
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#933
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/spotipy-dev/spotipy/pull/543
Author: @Esamanoaz
Created: 7/17/2020
Status: ✅ Merged
Merged: 7/23/2020
Merged by: @stephanebruckert
Base:
master← Head:master📝 Commits (4)
99abb23Added reason to SpotifyException40db9f2Updated the changelogc952f16Fixing code style576e765Merge branch 'master' into master📊 Changes
3 files changed (+10 additions, -3 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
spotipy/client.py(+5 -0)📝
spotipy/exceptions.py(+4 -3)📄 Description
I added a reason for player errors returned by Spotify. The list of reasons can be viewed here: list. This change to SpotifyException will speed up the development process by giving more specific error descriptions to developers.
An example of how this could be used:
https://pastebin.com/hLMtjMBj
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.