opentofu/builtin/providers/mailgun
Paul Hinze 108ccf0007 builtin: Refactor resource.Retry to clarify return
Change the `RetryFunc` from a plain `error` return type to a
specialized `RetryError` which must decide whether it is
retryable or not.

Add `RetryableError` / `NonRetryableError` factory functions that
callers are meant to use to build up these errors.

This makes it eminently clear whether or not a given error is
retryable from inside the client code.

Goal here is to _not_ change any behavior, simply reflect the
existing behavior with the new, clearer, API.
2016-03-09 17:37:56 -06:00
..
config.go Updated the provider to make testing a little easier 2014-11-18 15:21:32 +01:00
provider_test.go Updated the provider to make testing a little easier 2014-11-18 15:21:32 +01:00
provider.go Move duplicated envDefaultFunc out of each provider and into Schema. 2015-01-16 17:25:39 +00:00
resource_mailgun_domain_test.go mailgun: fixup go vet problem in test 2016-01-21 13:02:26 -06:00
resource_mailgun_domain.go builtin: Refactor resource.Retry to clarify return 2016-03-09 17:37:56 -06:00