An exception reporter utility.
Project description
PyExcReporter
In order to to use pyreporter, you will have to subclass ErrorReporter
and create your own reporting backend class:
from pyexcreporter import ErrorReporter
class MyErrorReporter(ErrorReporter):
def __init__(self) -> None:
super().__init__()
self.name = "MyErrorReporter"
def report(self, exception: Exception, **kwargs):
"""Report an exception with optional additional data."""
pass
Once created, register the reporter in the reporter engine.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyexcreporter-0.1.tar.gz
(4.4 kB
view details)
Built Distribution
File details
Details for the file pyexcreporter-0.1.tar.gz
.
File metadata
- Download URL: pyexcreporter-0.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
82f28abadf2be705f148f02ccdb6994544cd08d03aaf94553e1df65f1d0b6361
|
|
MD5 |
a142ce6fcee4da36646ff16adfd99683
|
|
BLAKE2b-256 |
c7011b0cd9d5987277ffbd94c572e389eb33b4cf19e871c4ad497a1c3e5f0f0d
|
File details
Details for the file pyexcreporter-0.1-py3-none-any.whl
.
File metadata
- Download URL: pyexcreporter-0.1-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
da14ddf2897032cf16836766f1952b2d6d7661f34ecf515f9393b55ab40a4651
|
|
MD5 |
590411bc60b5940aac4061cf324bd321
|
|
BLAKE2b-256 |
5ab1dc9694545bacd8ecd3b3cfc3e82e76e14d55bde574f84bb047396021467e
|