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)

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.02latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.02

Package Sidebar

Install

npm i luau-safe-pcall

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

705 B

Total Files

3

Last publish

Collaborators

  • sinlernick