google-gemini / generative-ai-dart

The official Dart library for the Google Gemini API
https://ai.google.dev/gemini-api/docs/get-started/tutorial?lang=dart
Apache License 2.0
569 stars 115 forks source link

Server error handling when generating content #207

Closed Flucadetena closed 2 months ago

Flucadetena commented 3 months ago

This is a simple throw give a clear message about the error when the server is not able to generate the content.

Aims to solve the Issue #206.