util_is_network_error


Description:


[ Version ( since = "3.60.2" ) ]
public bool util_is_network_error (Error? error)

Checks whether error represents a network or connection error (host unreachable, connection refused, DNS failure, timeout, etc.

) as opposed to a protocol-level or application-level error.

Parameters:

error

a Error, or null

Returns:

true if error is a network/connection error, false otherwise (including when error is null)


Namespace: Camel
Package: camel-1.2