Result provides an alternative error handling mechanism, avoiding throwing exceptions and a better data flow control.

Maintainers

Package info

github.com/leocavalcante/result

pkg:composer/leocavalcante/result

Statistics

Installs: 78

Dependents: 0

Suggesters: 0

Stars: 8

Open Issues: 1

v0.1.0 2021-02-17 20:49 UTC

This package is auto-updated.

Last update: 2026-03-06 21:43:36 UTC


README

CI Type coverage Code coverage

🎁 Result provides an alternative error handling mechanism, avoiding throwing exceptions or using nulls.

Heavily inspired by Rust's Result.

Why avoid nulls?

TODO: Talk about null-safety.

Why avoid exceptions?

TODO: Talk about resilience.