Skip to content

skwerlman/ltry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ltry

the little try-catch that could

what is this?

this is a very small try-catch implementation (12 lines, 231 chars including tabs)

usage

local try = require 'ltry'

try(
  function()
    something_that_might_break()
  end
):catch(
  function(msg)
    print(msg)
  end
)

About

the little try-catch that could

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages