Skip to content

Commit a742c37

Browse files
authored
chore: update exception handling guide (#328)
1 parent 01e46c1 commit a742c37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/ExceptionHandling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Other kinds of exceptions can occur. Handle them appropriately.
3030
```kotlin
3131
try {
3232
val response = index.search()
33-
} catch (exception: AlgoliaApiException) {
33+
} catch (exception: AlgoliaRuntimeException) {
3434
TODO()
3535
} catch (exception: IOException) {
3636
TODO()

0 commit comments

Comments
 (0)