Classifies a caught error from the Content Agent API into a known error type. Useful for clients that need to take different actions per error (e.g. show resource-selection buttons). For the user-facing message, use getAgentErrorMessage.
Classifies a caught error from the Content Agent API into a known error type. Useful for clients that need to take different actions per error (e.g. show resource-selection buttons). For the user-facing message, use getAgentErrorMessage.