API Exceptions README - evansims/openfga-php GitHub Wiki

API Documentation > Exceptions

Exception hierarchy for type-safe error handling throughout the SDK.

Total Components: 13


Interfaces

Name Description
ClientThrowable Base interface for all OpenFGA SDK exceptions. Extends the standard PHP Throwable interface with ...
DefaultMessagesInterface Interface for mapping exception error enums to their default message keys. Provides a contract fo...


Classes

Name Description
AuthenticationException Authentication-related exception for the OpenFGA SDK. Thrown when authentication failures occur, ...
ClientException General client exception for the OpenFGA SDK. Thrown for high-level client errors that can be cat...
ConfigurationException Configuration-related exception for the OpenFGA SDK. Thrown when configuration errors occur, typi...
DefaultMessages Maps exception error enums to their default message keys. This class provides the concrete implem...
NetworkException Network-related exception for the OpenFGA SDK. Thrown when network or HTTP communication errors o...
SerializationException Serialization-related exception for the OpenFGA SDK. Thrown when data serialization, deserializat...


Enumerations

Name Description
AuthenticationError Authentication error types for the OpenFGA SDK. Defines specific authentication failure scenarios...
ClientError General client error types for the OpenFGA SDK. Defines high-level error categories that can occu...
ConfigurationError Configuration error types for the OpenFGA SDK. Defines specific configuration-related failures th...
NetworkError Network error types for the OpenFGA SDK. Defines specific network and HTTP-related failures that ...
SerializationError Serialization error types for the OpenFGA SDK. Defines specific serialization and data processing...
⚠️ **GitHub.com Fallback** ⚠️