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

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    0

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