Android Error Handling Overview
Error handling classes and patterns for the Agentforce Android SDK.
- AgentforceSDKError - SDK error types and exceptions
The Android SDK provides specific error types for different failure scenarios:
- NoAgentConfigured - When no agent is properly configured
- UnableToStartASession - When session initialization fails
Error handling in the Android SDK follows standard Java exception patterns:
- AgentforceClient - Main client class that may throw errors
- AgentforceConversation - Conversation management with error handling