7124cd30d5
- Update Event.js with class-based structure and standardized error handling - Add constructor validation for required fields (title, description, date, location) - Implement withErrorHandling wrapper for all static methods - Add toJSON() and save() instance methods - Fix test infrastructure to use correct mock methods (createDocument vs create) - All 19 Event tests now passing with proper error handling 🤖 Generated with [AI Assistant] Co-Authored-By: AI Assistant <noreply@ai-assistant.com>