Skip to content

Commit

Permalink
Remove unused exceptions (#835)
Browse files Browse the repository at this point in the history
  • Loading branch information
emontnemery committed Feb 13, 2024
1 parent 7c808e9 commit 4971469
Showing 1 changed file with 0 additions and 16 deletions.
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

0 comments on commit 4971469

Please sign in to comment.