# 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.
```bash
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](https://i.ibb.co/61nDwVh/demo.png)
## License
This project is licensed under the MIT License. See the LICENSE file for details.
Raw data
{
"_id": null,
"home_page": "https://github.com/Armen-Jean-Andreasian/Active-Erroring",
"name": "Active-Erroring",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "error,raising,custom,python",
"author": "Armen-Jean Andreasian",
"author_email": "armen.andreasian77@gmail.com",
"download_url": "",
"platform": null,
"description": "# Active Erroring\r\n\r\nActive Erroring is a Python package that provides a simple way to raise custom errors with customizable error names and messages.\r\n\r\n## Installation\r\n\r\nYou can install Active Erroring using pip.\r\n```bash\r\npip install active-erroring\r\n```\r\n## Usage\r\n\r\nTo use Active Erroring in your Python code, follow these steps:\r\n\r\n1. Import the `CustomError` class from the `active_erroring` module.\r\n\r\n2. Create an instance of `CustomError` and provide the error message. You can also specify a custom error name.\r\n\r\n3. Raise the custom error.\r\n\r\n## Example\r\n\r\nHere's a complete example of using Active Erroring in a Python script.\r\n\r\n## Demo\r\n\r\n![Demo](https://i.ibb.co/61nDwVh/demo.png)\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License. See the LICENSE file for details.\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "This package can be used to raise custom errors and have fun.",
"version": "1.1.2",
"project_urls": {
"Homepage": "https://github.com/Armen-Jean-Andreasian/Active-Erroring"
},
"split_keywords": [
"error",
"raising",
"custom",
"python"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4d7568bc6b11a3420faea5cf1836983db029270da0811183c9440dcf847c11d8",
"md5": "0ff05ba294f219cd4a71f5f801df373f",
"sha256": "ae5b4523b66598105ee62e1c624545ce22afd7fee260b4a753c1027f76122e4f"
},
"downloads": -1,
"filename": "Active_Erroring-1.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0ff05ba294f219cd4a71f5f801df373f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 2726,
"upload_time": "2023-08-15T09:22:42",
"upload_time_iso_8601": "2023-08-15T09:22:42.626261Z",
"url": "https://files.pythonhosted.org/packages/4d/75/68bc6b11a3420faea5cf1836983db029270da0811183c9440dcf847c11d8/Active_Erroring-1.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-15 09:22:42",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Armen-Jean-Andreasian",
"github_project": "Active-Erroring",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "active-erroring"
}