An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# Result

![CI](https://github.com/leocavalcante/result/workflows/CI/badge.svg?branch=main)
![Type coverage](https://shepherd.dev/github/leocavalcante/result/coverage.svg)
![Code coverage](https://codecov.io/gh/leocavalcante/result/branch/main/graph/badge.svg?token=MERRHTNUPS)

🎁 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.