Created
December 5, 2021 14:13
-
-
Save HVHO/89429ab83798e114cd7c190b1f3bf83b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Retryable() | |
fun doWithRetry(input : String) { | |
// do something | |
} | |
@Recover | |
fun recover(exception: RuntimeException, input : String) : Unit { | |
// do someThing | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment