Skip to content

Commit

Permalink
Update README - Error handling for session service
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbalakirev committed Sep 3, 2024
1 parent f23b975 commit 65ad5c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ The Corbado Java SDK throws exceptions for all errors. The following exceptions

- `CorbadoServerException` for server errors (server side)
- `StandardException` for everything else (client side)
- `JWTVerificationException` and its subclasses and `JwkException` in session service for JWT/JWK errors.

If the Backend API returns a HTTP status code other than 200, the Corbado Java SDK throws a `CorbadoServerException`. The `CorbadoServerException`class parses the server response to access all important data. One of the test cases:
```Java
Expand Down

0 comments on commit 65ad5c8

Please sign in to comment.