Skip to content

Commit

Permalink
clarify block issues
Browse files Browse the repository at this point in the history
  • Loading branch information
matkoniecz committed Dec 29, 2024
1 parent a557a05 commit 3ddda2b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ inline fun <T> wrapApiClientExceptions(block: () -> T): T =
throw ConnectionException(e.message, e)
}
// authorization is something we can handle (by requiring (re-)login of the user)
// note that user may be also blocked, this may require special handling
// note that on 403 error code (Unauthorized) user may be also blocked, this may require special handling
HttpStatusCode.Forbidden, HttpStatusCode.Unauthorized -> {
throw AuthorizationException(e.message, e)
}
Expand Down

0 comments on commit 3ddda2b

Please sign in to comment.