bosesoundtouchapi.soundtouchwarning

@export
class SoundTouchWarning(builtins.Exception):

Exception thrown when a SoundTouch device returns a warning status.

SoundTouchWarning( message: str, warningCode: int = 0, logsi: smartinspectpython.sisession.SISession = None)

Initializes a new class instance using specified message text.

Arguments:
  • message (str): Warning message text.
  • warningCode (int): Warning code value, that can uniquely identify this message.
  • logsi (SISession): Trace session object that this exception will be logged to, or null to bypass trace logging.
    Default is None.
Message: str

Warning message text.

WarningCode: int

Warning code value, that can uniquely identify this message.

def ToString(self) -> str:

Returns a displayable string representation of the class.