Skip to content

Commit 3500528

Browse files
authored
#1071 proper exception class name (#1073)
1 parent 71ca4e1 commit 3500528

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/per-request-configuration.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ $response = $client->get($params);
3939

4040
The library attempts to throw exceptions for common problems. These exceptions
4141
match the HTTP response code provided by {es}. For example, attempting to GET a
42-
nonexistent document will throw a `MissingDocument404Exception`.
42+
nonexistent document will throw a `Missing404Exception`.
4343

4444
Exceptions are a useful and consistent way to deal with problems like missing
4545
documents, syntax errors, version conflicts, and so on. But sometimes you want
@@ -48,7 +48,7 @@ test suites).
4848

4949
If you need that behavior, you can configure an `ignore` parameter. You can
5050
configure it in the `client` parameter of the request array. For instance, the
51-
example below ignores the `MissingDocument404Exception` exception and returns
51+
example below ignores the `Missing404Exception` exception and returns
5252
the JSON provided by {es} instead.
5353

5454

0 commit comments

Comments
 (0)