Skip to content

apollo-code


apollo-code / provider-anthropic/src / mapAnthropicError

Function: mapAnthropicError()

mapAnthropicError(status, body?, retryAfterMs?): ProviderError

Parameters

status

number

body?

error?

{ message?: string; type?: string; }

error.message?

string

error.type?

string

retryAfterMs?

number

Returns

ProviderError