Error Handling
Managing errors fired by your agent.
try {
// Your code here...
} catch (NeuronAI\Exceptions\NeuronException $e) {
// catch all the exception generated just from the agent
} catch (NeuronAI\Exceptions\ProviderException $e) {
// Fired from AI providers and embedding providers
}Last updated