async_gateway_error_handler#

langchain_ibm.utils.async_gateway_error_handler(
func: Callable,
) Callable[source]#

Async decorator to catch ApiRequestFailure on Model Gateway calls and log a uniform warning.

Parameters:

func (Callable)

Return type:

Callable