stepseries.exceptions のソースコード

"""Custom exceptions raised by this library."""


from typing import Optional


[ドキュメント]class StepSeriesException(Exception): """Base exception for the library.""" original_exc: Optional[Exception] = None
[ドキュメント]class ClientNotFoundError(Exception): """The requested client could not be found."""
[ドキュメント]class ClientClosedError(Exception): """The client's connection is not open."""
[ドキュメント]class InvalidCommandError(Exception): """The command cannot be executed."""
[ドキュメント]class ParseError(StepSeriesException): """Failed to parse the message from the device.""" response: str