Skip to main content

This package can be used to raise custom errors and have fun.

Project description

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.

Project 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

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for Active_Erroring-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ae5b4523b66598105ee62e1c624545ce22afd7fee260b4a753c1027f76122e4f
MD5 0ff05ba294f219cd4a71f5f801df373f
BLAKE2b-256 4d7568bc6b11a3420faea5cf1836983db029270da0811183c9440dcf847c11d8

See more details on using hashes here.

Supported by

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