[PR #1161] [MERGED] Add SpotifyBaseException and move all exceptions to exceptions.py #1186

Closed
opened 2026-02-28 00:03:59 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/spotipy-dev/spotipy/pull/1161
Author: @dieser-niko
Created: 10/6/2024
Status: Merged
Merged: 10/8/2024
Merged by: @dieser-niko

Base: masterHead: 1160-move-exceptions


📝 Commits (1)

  • fe1b964 created SpotifyBaseException and moved exceptions from oauth2.py to exceptions.py

📊 Changes

3 files changed (+30 additions, -24 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 spotipy/exceptions.py (+28 -1)
📝 spotipy/oauth2.py (+1 -23)

📄 Description

This should be backwards compatible by importing the oauth errors back into the oauth2.py file.
Closes #1160


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/spotipy-dev/spotipy/pull/1161 **Author:** [@dieser-niko](https://github.com/dieser-niko) **Created:** 10/6/2024 **Status:** ✅ Merged **Merged:** 10/8/2024 **Merged by:** [@dieser-niko](https://github.com/dieser-niko) **Base:** `master` ← **Head:** `1160-move-exceptions` --- ### 📝 Commits (1) - [`fe1b964`](https://github.com/spotipy-dev/spotipy/commit/fe1b964e7ede2c9e6ae4bebbab966140652754df) created SpotifyBaseException and moved exceptions from oauth2.py to exceptions.py ### 📊 Changes **3 files changed** (+30 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `spotipy/exceptions.py` (+28 -1) 📝 `spotipy/oauth2.py` (+1 -23) </details> ### 📄 Description This should be backwards compatible by importing the oauth errors back into the `oauth2.py` file. Closes #1160 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:03:59 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotipy#1186
No description provided.