kimpure/result

luau-result

When you hate luau's error handling but don't want to import the entire utils.luau

Note

When to use

  • You hate pure luau's error handling which lacks customizing (such as Result::map_err)
  • When you suddenly want to use Result in luau
  • When you feel utils.luau is too much for my simple ass luau/lune script
  • Seems Option can be simply replaced by ? type in luau
  • Seems Future is too much for simple luau/lune script

Credits

All credit goes to lukadev-0