Polyman Documentation - v3.1.0
Preparing search index...
agent/providers/openai-compatible
errorFromResponse
Function errorFromResponse
errorFromResponse
(
response
:
Response
)
:
Promise
<
ProviderError
>
Turns a failed HTTP response into a
ProviderError
.
Parameters
response
:
Response
Returns
Promise
<
ProviderError
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Polyman Documentation - v3.1.0
Loading...
Turns a failed HTTP response into a ProviderError.