Exceptions
The library raises two families of exceptions:gwenlake.exceptions.GwenlakeExceptionfor errors the library detects itself: no usable credentials, a handle that resolves to nothing, an incremental read that the dataset cannot answer.httpx.HTTPStatusErrorwhen the API answers with an error status. Every resource callsraise_for_status()on the response, so a403or a404surfaces as this exception, with the response attached.
Status codes
The body of an error is
{"detail": ...}.