Skip to content

Commit 4621a20

Browse files
docs: update readme exception docs (#555)
1 parent 2750ce7 commit 4621a20

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -196,16 +196,16 @@ The SDK throws custom unchecked exception types:
196196

197197
- [`LithicServiceException`](lithic-java-core/src/main/kotlin/com/lithic/api/errors/LithicServiceException.kt): Base class for HTTP errors. See this table for which exception subclass is thrown for each HTTP status code:
198198

199-
| Status | Exception |
200-
| ------ | ------------------------------- |
201-
| 400 | `BadRequestException` |
202-
| 401 | `AuthenticationException` |
203-
| 403 | `PermissionDeniedException` |
204-
| 404 | `NotFoundException` |
205-
| 422 | `UnprocessableEntityException` |
206-
| 429 | `RateLimitException` |
207-
| 5xx | `InternalServerException` |
208-
| others | `UnexpectedStatusCodeException` |
199+
| Status | Exception |
200+
| ------ | -------------------------------------------------------------------------------------------------------------------------- |
201+
| 400 | [`BadRequestException`](lithic-java-core/src/main/kotlin/com/lithic/api/errors/BadRequestException.kt) |
202+
| 401 | [`UnauthorizedException`](lithic-java-core/src/main/kotlin/com/lithic/api/errors/UnauthorizedException.kt) |
203+
| 403 | [`PermissionDeniedException`](lithic-java-core/src/main/kotlin/com/lithic/api/errors/PermissionDeniedException.kt) |
204+
| 404 | [`NotFoundException`](lithic-java-core/src/main/kotlin/com/lithic/api/errors/NotFoundException.kt) |
205+
| 422 | [`UnprocessableEntityException`](lithic-java-core/src/main/kotlin/com/lithic/api/errors/UnprocessableEntityException.kt) |
206+
| 429 | [`RateLimitException`](lithic-java-core/src/main/kotlin/com/lithic/api/errors/RateLimitException.kt) |
207+
| 5xx | [`InternalServerException`](lithic-java-core/src/main/kotlin/com/lithic/api/errors/InternalServerException.kt) |
208+
| others | [`UnexpectedStatusCodeException`](lithic-java-core/src/main/kotlin/com/lithic/api/errors/UnexpectedStatusCodeException.kt) |
209209

210210
- [`LithicIoException`](lithic-java-core/src/main/kotlin/com/lithic/api/errors/LithicIoException.kt): I/O networking errors.
211211

0 commit comments

Comments
 (0)