NextRetryDelay for golang?

For the Java API I see that there is a way to override the retry policy by throwing an ApplicationFailure with NextRetryDelay:

I can’t seem to find this in the go-sdk, is this functionality available in golang as well?

Thank you!

It is, look at NewApplicationErrorWithOptions
so something like


return temporal.NewApplicationErrorWithOptions("error with next delay", "NextDelay", temporal.ApplicationErrorOptions{
		NextRetryDelay: time.Minute,
})