type RunErrorKind = "maxTurns" | "modelRefusal" | "invalidFinalOutput";
Error kinds supported by run error handlers.