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

Installs: 75

Dependents: 0

Suggesters: 0

Security: 0

Stars: 8

Watchers: 0

Forks: 0

Open Issues: 1

pkg:composer/leocavalcante/result

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

This package is auto-updated.

Last update: 2025-10-06 20:48:32 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.