Extracts retry-after hints from error messages.
Extracts a retry-after duration from the provided error message.