ReasoningPlanSettings.onError property

Signature:

onError?: (error: string) => void;