Custom retry logic could be anything and implemented through composition or just good structured programming by the handler itself.