hitCacheOnErrorExcept property

List<int>? hitCacheOnErrorExcept
final

Ability to return cache excepted on given status codes. Giving an empty list will hit cache on any status codes.

Other errors, such as socket exceptions (connect, send TO, receive TO, ...), will trigger the cache.

Implementation

final List<int>? hitCacheOnErrorExcept;