- Add .onError hook for centralized error handling and consistent JSON formatting - Export app instance and App type for Eden Treaty client integration Reference: Task 2, Issues 1 and 2