Tests the error in order to know if an HTTP call can be retried.
error to test
true for a retriable error
Tests the error in order to know if an HTTP call can be retried.