Exceptions

Exception classes used throughout QtPyGuiHelper.

Custom exceptions for QtPyGuiHelper library.

exception qtpyguihelper.exceptions.QtPyGuiHelperError[source]

Bases: Exception

Base exception for QtPyGuiHelper library.

exception qtpyguihelper.exceptions.BackendError[source]

Bases: QtPyGuiHelperError

Raised when there’s an issue with backend selection or initialization.

exception qtpyguihelper.exceptions.ConfigurationError[source]

Bases: QtPyGuiHelperError

Raised when there’s an issue with configuration loading or validation.

exception qtpyguihelper.exceptions.WidgetError[source]

Bases: QtPyGuiHelperError

Raised when there’s an issue with widget creation or manipulation.

exception qtpyguihelper.exceptions.ValidationError(message, missing_fields=None)[source]

Bases: QtPyGuiHelperError

Raised when form validation fails.

Parameters:
  • message (str)

  • missing_fields (list)

exception qtpyguihelper.exceptions.FileOperationError[source]

Bases: QtPyGuiHelperError

Raised when file operations (save/load) fail.

exception qtpyguihelper.exceptions.UnsupportedOperationError[source]

Bases: QtPyGuiHelperError

Raised when an operation is not supported by the current backend.