raise_for_status_with_text#
- langchain_core.utils.utils.raise_for_status_with_text(
- response: Response,
Raise an error with the response text.
- Parameters:
response (Response) – The response to check for errors.
- Raises:
ValueError – If the response has an error status code.
- Return type:
None