Active-Erroring

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


Keywords
error, raising, custom, python, error-handling, error-messages, errors, fun, trolling
License
MIT
Install
pip install Active-Erroring==1.0.1

Documentation

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 is a private project.