Skip to content

digimbyte/LogCatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LogCatch is designed to fill in any time you need to log and throw an error from a Promise catch

Simply import or require it

import LogCatch from "logcatch";

Use as such:

Log as a Warning and throw the error

.catch(LogCatch.Throw)

Log as a Warning and return the error

.catch(LogCatch.Return)

About

a simple logger for Catching and returning values to keep code clean and beautiful

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published