Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused exceptions #835

Merged
merged 1 commit into from
Feb 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 0 additions & 16 deletions pychromecast/error.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,10 @@ class PyChromecastError(Exception):
"""Base error for PyChromecast."""


class NoChromecastFoundError(PyChromecastError):
"""
When a command has to auto-discover a Chromecast and cannot find one.
"""


class MultipleChromecastsFoundError(PyChromecastError):
"""
When getting a singular chromecast results in getting multiple chromecasts.
"""


class ChromecastConnectionError(PyChromecastError):
"""When a connection error occurs within PyChromecast."""


class LaunchError(PyChromecastError):
"""When an app fails to launch."""


class PyChromecastStopped(PyChromecastError):
"""Raised when a command is invoked while the Chromecast's socket_client
is stopped.
Expand Down