Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sureshpandiyan1/py_classic_error

classic way to show python errors
https://github.com/sureshpandiyan1/py_classic_error

classic error error-log python python-error-handling python3 traceback types

Last synced: 5 days ago
JSON representation

classic way to show python errors

Awesome Lists containing this project

README

        

# intro

py_classic_error is classic way to show errors for python users.

# why you need py_classic_error ?

- easy to use
- more readable error & compact
- show error code

# you can install via pip

pip install py_classic_error

# example

from py_classic_error import py_classic_error

numbers = [1,2,3]

try:
# now we're trying to access index doesn't contains in numbers list
print(numbers[8])
except:
py_classic_error()

-------py_classic_error-------
errtype:
err: list index out of range
Path: "d:\weatherapp\ll.py"
=> 11 print(numbers[8])

# License
The unlicense

# Copyright
Suresh P @ 2022 | py_classic_error | Unlicense