Skip to main content

Active Erroring

Active Erroring is a Python package that provides a simple way to raise custom errors with customizable error names and messages.

Installation

You can install Active Erroring using pip.

pip install active-erroring

Usage

To use Active Erroring in your Python code, follow these steps:

  1. Import the CustomError class from the active_erroring module.

  2. Create an instance of CustomError and provide the error message. You can also specify a custom error name.

  3. Raise the custom error.

Example

Here's a complete example of using Active Erroring in a Python script.

Demo

Demo

License

This project is licensed under the MIT License. See the LICENSE file for details.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Active_Erroring-1.1.1-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file Active_Erroring-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for Active_Erroring-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c6395c47c26a19e97d64caaa3410641a7a243c65df010013e7ff9c7c368b3a08
MD5 6cf3edf87d3309f2874acd91705e3deb
BLAKE2b-256 1577a102245a118fe4f30fa7851b836103b3c2eae092321dbc39a8854fe7cb38

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page