Skip to content

Commit b2ba99f

Browse files
fixup: E028 wording (#531)
1 parent bb81679 commit b2ba99f

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

crates/rover-client/src/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ pub enum RoverClientError {
7878
if let Some(url) = .url {
7979
url.to_string()
8080
} else {
81-
"Unknown URL".to_string()
81+
"unknown URL".to_string()
8282
}
8383
)]
8484
CouldNotConnect {

docs/source/errors.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,8 @@ To resolve this error, inspect the printed errors and correct the subgraph schem
229229

230230
### E028
231231

232-
This error occurs when a connection could not be established with to an introspection endpoint.
232+
This error occurs when Rover could not connect to an HTTP endpoint.
233233

234-
To resolve this problem, make sure the endpoint URL is correct. You may wish to run the command again with `--log=debug`.
234+
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`.
235235

236236

src/error/metadata/codes/E028.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
This error occurs when a connection could not be established with to an introspection endpoint.
1+
This error occurs when Rover could not connect to an HTTP endpoint.
22

3-
To resolve this problem, make sure the endpoint URL is correct. You may wish to run the command again with `--log=debug`.
3+
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`.

src/error/metadata/suggestion.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ impl Display for Suggestion {
125125
)
126126
}
127127
Suggestion::Adhoc(msg) => msg.to_string(),
128-
Suggestion::CheckServerConnection => "Make sure the endpoint accepting connections is spelled correctly".to_string(),
128+
Suggestion::CheckServerConnection => "Make sure the endpoint is accepting connections and is spelled correctly".to_string(),
129129
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(),
130130

131131

0 commit comments

Comments
 (0)