Functiontest_the_event_stays_json_serializable_with_a_class_valued_error_typeA class is not a JSON type, so the field needs a serializer or the event breaks. Without one, `model_dump(mode="json")` raises PydanticSerializat
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:465