Skip to content

Commit a78bbf0

Browse files
committed
fix: dart
1 parent f6639b0 commit a78bbf0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

clients/algoliasearch-client-dart/packages/client_core/lib/src/algolia_exception.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,14 @@ final class AlgoliaWaitException implements AlgoliaException {
7373
final class UnreachableHostsException implements AlgoliaException {
7474
/// The list of errors associated with each unreachable host.
7575
final List<AlgoliaException> errors;
76-
final String message;
76+
final String message =
77+
"If the error persists, please visit our help center <SUPPORT_LINK_HERE> or reach out to the Algolia Support team: https://alg.li/support.";
7778

7879
/// Constructs an [UnreachableHostsException] with the provided list of errors.
7980
const UnreachableHostsException(this.errors);
8081

8182
@override
8283
String toString() {
83-
return 'UnreachableHostsException{errors: $errors, message: If the error persists, please visit our help center <SUPPORT_LINK_HERE> or reach out to the Algolia Support team: https://alg.li/support.}';
84+
return 'UnreachableHostsException{errors: $errors, message: $message}';
8485
}
8586
}

0 commit comments

Comments
 (0)