call_report.exceptions.CallReportError#

exception call_report.exceptions.CallReportError[source]#

Root of every domain-specific error raised by call_report.

Catching this one exception type is enough to catch any error this package raises, regardless of which specific subclass was involved.

Examples

>>> try:
...     raise CallReportError("something went wrong")
... except CallReportError as error:
...     str(error)
'something went wrong'