UsefulViewsError

Base class for every error useful-views raises.

Usage

Source

UsefulViewsError(
    message,
    *,
    recipe=None,
)

Attributes

recipe

The recipe the error is about, when there is one.

sync_result
When the error stopped sync, a SyncResult saying what sync had already done (those changes are kept); else None.

Methods

Name Description
to_dict() The error as plain data: its type, message and attributes.

to_dict()

The error as plain data: its type, message and attributes.

Usage

Source

to_dict()