ActiveJob, passing error to wait block?

Hi :waving_hand:

When encountering a rate limit, some application my read the Retry-After HTTP header and store in an exception. The current wait: in retry_on is just passing the number of executions and I’m wondering if passing the current exception might be a great addition to set a wait time based on a stored value.

Thank you.