Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

API Exceptions DefaultMessagesInterface

Evan Sims edited this page Jun 17, 2025 · 9 revisions

Interface for mapping exception error enums to their default message keys. Provides a contract for retrieving default translation message keys for various types of exceptions in the OpenFGA SDK. This interface enables consistent error messaging across the SDK by centralizing the mapping between error types and their corresponding human-readable messages, supporting internationalization and localization. The interface handles all major error categories in the OpenFGA SDK: authentication, client, configuration, network, and serialization errors. Each method returns a Messages enum that can be used with the translation system to generate localized error messages.

Table of Contents


Namespace

OpenFGA\Exceptions


Source

View source code


Related Classes

Clone this wiki locally