diff --git a/crates/rover-client/src/error.rs b/crates/rover-client/src/error.rs index ca2a6a62e..217e6a2e1 100644 --- a/crates/rover-client/src/error.rs +++ b/crates/rover-client/src/error.rs @@ -78,7 +78,7 @@ pub enum RoverClientError { if let Some(url) = .url { url.to_string() } else { - "Unknown URL".to_string() + "unknown URL".to_string() } )] CouldNotConnect { diff --git a/docs/source/errors.md b/docs/source/errors.md index 27a7ba995..5128e95da 100644 --- a/docs/source/errors.md +++ b/docs/source/errors.md @@ -229,8 +229,8 @@ To resolve this error, inspect the printed errors and correct the subgraph schem ### E028 -This error occurs when a connection could not be established with to an introspection endpoint. +This error occurs when Rover could not connect to an HTTP endpoint. -To resolve this problem, make sure the endpoint URL is correct. You may wish to run the command again with `--log=debug`. +If you encountered this error while running introspection, you'll want to make sure that you typed the endpoint correctly, your Internet connection is stable, and that your server is responding to requests. You may wish to run the command again with `--log=debug`. diff --git a/src/error/metadata/codes/E028.md b/src/error/metadata/codes/E028.md index b5ba2644a..52b1dd800 100644 --- a/src/error/metadata/codes/E028.md +++ b/src/error/metadata/codes/E028.md @@ -1,3 +1,3 @@ -This error occurs when a connection could not be established with to an introspection endpoint. +This error occurs when Rover could not connect to an HTTP endpoint. -To resolve this problem, make sure the endpoint URL is correct. You may wish to run the command again with `--log=debug`. +If you encountered this error while running introspection, you'll want to make sure that you typed the endpoint correctly, your Internet connection is stable, and that your server is responding to requests. You may wish to run the command again with `--log=debug`. diff --git a/src/error/metadata/suggestion.rs b/src/error/metadata/suggestion.rs index 69e6bb4db..78a5247b4 100644 --- a/src/error/metadata/suggestion.rs +++ b/src/error/metadata/suggestion.rs @@ -125,7 +125,7 @@ impl Display for Suggestion { ) } Suggestion::Adhoc(msg) => msg.to_string(), - Suggestion::CheckServerConnection => "Make sure the endpoint accepting connections is spelled correctly".to_string(), + Suggestion::CheckServerConnection => "Make sure the endpoint is accepting connections and is spelled correctly".to_string(), Suggestion::ConvertGraphToSubgraph => "If you are sure you want to convert a non-federated graph to a subgraph, you can re-run the same command with a `--convert` flag.".to_string(),