Active Erroring
1.0.0
Active Erroring is a Python package that provides a simple way to raise custom errors with customizable error names and messages.
You can install Active Erroring using pip.
pip install active-erroringTo use Active Erroring in your Python code, follow these steps:
Import the CustomError class from the active_erroring module.
Create an instance of CustomError and provide the error message. You can also specify a custom error name.
Raise the custom error.
Here's a complete example of using Active Erroring in a Python script.
Live Demo on ray.so
Sample:
P.S. The source code will be added soon.