API Results README - evansims/openfga-php GitHub Wiki

API Documentation > Results

Result pattern implementation for functional error handling without exceptions.

Total Components: 5


Interfaces

Name Description
FailureInterface Represents a failed result containing an error. Failure results indicate that an operation encoun...
ResultInterface Represents the result of an operation that can either succeed or fail. The Result pattern provide...
SuccessInterface Represents a successful result containing a value. Success results indicate that an operation com...


Classes

Name Description
Failure Concrete implementation of a failed result containing an error. This class represents the failed ...
Success Concrete implementation of a successful result containing a value. This class represents the succ...
⚠️ **GitHub.com Fallback** ⚠️