https://github.com/leocavalcante/result
🎁 Result provides an alternative error handling mechanism, avoiding throwing exceptions or using nulls.
https://github.com/leocavalcante/result
error-handling hacktoberfest monad null-safety php result
Last synced: 3 months ago
JSON representation
🎁 Result provides an alternative error handling mechanism, avoiding throwing exceptions or using nulls.
- Host: GitHub
- URL: https://github.com/leocavalcante/result
- Owner: leocavalcante
- License: mit
- Created: 2020-10-21T14:34:57.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-11-06T19:04:50.000Z (11 months ago)
- Last Synced: 2025-06-03T04:09:42.186Z (4 months ago)
- Topics: error-handling, hacktoberfest, monad, null-safety, php, result
- Language: PHP
- Homepage:
- Size: 118 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Result


🎁 Result provides an alternative error handling mechanism, avoiding throwing exceptions or using nulls.
> Heavily inspired by [Rust's Result](https://doc.rust-lang.org/std/result/).
## Why avoid nulls?
TODO: Talk about null-safety.
## Why avoid exceptions?
TODO: Talk about resilience.