luau-safe-pcall

1.0.0 • Public • Published

safe_pcall

A utility function that wraps errorable functions into results.

safe_pcall(error, "hi, this is error"):catch(function(errorValue)
    print(errorValue)
end)

Readme

Keywords

none

Package Sidebar

Install

npm i luau-safe-pcall

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

705 B

Total Files

3

Last publish

Collaborators

  • sinlernick