Skip to content

aitorcas23/ErrorHandlerDecorators

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Error handler decorators

This project contains decorators for handling errors

Base error handler

Surrounds the function with a try catch, and in case of an exception, prints the functions name, its module and the raised error. Is used by adding the decorator above the function you want to handle.

@handle_error
def a_function(a, b):

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages