OLLMchat.Call.Base.handle_message_error – ollmchat Reference Manual
Packages
ollmchat
OLLMchat
Call
Base
cancellable
chat_content
connection
streaming_response
StreamingChunkCallback
Base
build_url
deserialize_property
find_property
get_models
get_property
get_request_body
handle_message_error
handle_streaming_response
parse_error_from_json
parse_models_array
parse_response
send_request
serialize_property
set_property
http_method
is_openai
url_endpoint
handle_message_error
Description:
protected
void
handle_message_error
(
Message
message)
throws
OllmError
Throws OllmError.FAILED for non-200 status; call after attempting to parse 400 body if desired.