Skip to content

Commit

Permalink
add 999 to error codes
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelveldt committed Jul 9, 2023
1 parent 0144e55 commit 6cab48e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion music_assistant/common/models/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def __init_subclass__(cls, *args, **kwargs) -> None: # type: ignore[no-untyped-


# mapping from error_code to Exception class
ERROR_MAP: dict[int, type] = {0: MusicAssistantError}
ERROR_MAP: dict[int, type] = {0: MusicAssistantError, 999: MusicAssistantError}


class ProviderUnavailableError(MusicAssistantError):
Expand Down

0 comments on commit 6cab48e

Please sign in to comment.