X Tutup
Skip to content

davidbpython/splain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

splain: explain exceptions and offer debugging advice

Usage:

import splain

splain attempts to explain any exceptions that result in program termination.

When splain is imported, it redirects and buffers STDERR until program termination. At program termination, splain reads any text written to STDERR and uses pattern matching to determine whether an exception occurred.

If it appears that an exception occurred, splain attempts to identify the error type and other elements of the exception message (error line, line number, etc.). It displays these elements in a clearer form and provides a full explanation of the error type and its meaning, and offers debugging advice.

Note: splain bufffers STDERR and does not display error messages until program termination (including non-exception errors written to STDERR).

Any text written to STDERR will be displayed only upon program termination.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

X Tutup