Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 75edca4

Browse files
dineshvbDinesh V Bkeharper
authored
Added the error coverage for country query (#8482)
* Added the error coverage for countryquery * Update directory-country.md Co-authored-by: Dinesh V B <dbabu@ztech.io> Co-authored-by: Kevin Harper <keharper@users.noreply.github.com>
1 parent 310ab1b commit 75edca4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/guides/v2.3/graphql/queries/directory-country.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,10 @@ The query returns a single `Country` object.
112112

113113
* [countries query]({{page.baseurl}}/graphql/queries/directory-countries.html)
114114
* [currency query]({{page.baseurl}}/graphql/queries/directory-currency.html)
115+
116+
## Errors
117+
118+
Error | Description
119+
--- | ---
120+
`Country \"id\" value should be specified"` | The Country ID value must be specified to find the mapped country.
121+
`The country isn't available` | There is no country mapped to the given country ID.

0 commit comments

Comments
 (0)