You could see the original error using response.error
property.
If something happened and the response is an error response or contains an error you could raise the original error using response.raise_for_status()
that will throw the original error of the response if exists
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…