labapi.exceptions.ApiError#

exception labapi.exceptions.ApiError(message: str, error_code: int | None = None)[source]#

LabArchives API returned an error or unexpected response.

error_code is the numeric code from the API <error-code> element, or None if the error was detected before parsing the response body.