Vai al contenuto

app_exceptions

app_exceptions

This module contains the custom exceptions used in the application.

CameraException

Bases: Exception

Exception raised when an error occurs while reading from the camera stream or when the camera stream is closed or None and the camera widget tries to read a frame from it.

Source code in app_exceptions.py
class CameraException(Exception):
    """
    Exception raised when an error occurs while reading from the camera stream
    or when the camera stream is closed or None and the camera widget tries to
    read a frame from it.
    """

ConfigException

Bases: Exception

Exception raised when an error occurs while reading the configuration file.

Source code in app_exceptions.py
class ConfigException(Exception):
    """
    Exception raised when an error occurs while reading the configuration
    file.
    """

PrepareLiveException

Bases: Exception

Exception raised when an error occurs while preparing the live-streaming.

Source code in app_exceptions.py
class PrepareLiveException(Exception):
    """
    Exception raised when an error occurs while preparing the live-streaming.
    """

ScheduleException

Bases: Exception

Exception raised when an error occurs while setting the schedule in a specific day.

Source code in app_exceptions.py
class ScheduleException(Exception):
    """
    Exception raised when an error occurs while setting the schedule in a
    specific day.
    """

StreamingStatusException

Bases: Exception

Exception raised when an error occurs while setting the streaming status

Source code in app_exceptions.py
class StreamingStatusException(Exception):
    """
    Exception raised when an error occurs while setting the streaming status
    """