Skip to content

Commit 5d0eefe

Browse files
authored
chore(firebaseai): Minor fix for error message wording (#17639)
1 parent f81db63 commit 5d0eefe

File tree

1 file changed

+2
-2
lines changed
  • packages/firebase_ai/firebase_ai/lib/src

1 file changed

+2
-2
lines changed

packages/firebase_ai/firebase_ai/lib/src/error.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ final class FirebaseAIException implements Exception {
2323
final String message;
2424

2525
@override
26-
String toString() => 'VertexAIException: $message';
26+
String toString() => 'FirebaseAIException: $message';
2727
}
2828

2929
/// Exception thrown when the server rejects the API key.
@@ -104,7 +104,7 @@ final class FirebaseAISdkException implements Exception {
104104

105105
@override
106106
String toString() => '$message\n'
107-
'This indicates a problem with the Vertex AI in Firebase SDK. '
107+
'This indicates a problem with the Firebase AI Logic SDK. '
108108
'Try updating to the latest version '
109109
'(https://pub.dev/packages/firebase_ai/versions), '
110110
'or file an issue at '

0 commit comments

Comments
 (0)