Skip to content

Commit ba9219b

Browse files
fix(clients): link to support/help center on unreachable hosts (generated)
algolia/api-clients-automation#5305 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 3dd0af0 commit ba9219b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/client_core/lib/src/algolia_exception.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,12 +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 =
77+
"If the error persists, please visit our help center https://alg.li/support-unreachable-hosts or reach out to the Algolia Support team: https://alg.li/support";
7678

7779
/// Constructs an [UnreachableHostsException] with the provided list of errors.
7880
const UnreachableHostsException(this.errors);
7981

8082
@override
8183
String toString() {
82-
return 'UnreachableHostsException{errors: $errors}';
84+
return 'UnreachableHostsException{errors: $errors, message: $message}';
8385
}
8486
}

0 commit comments

Comments
 (0)