recover
Deprecated
Moved to the BotCommands-jda-ktx module You can find & replace: Find: io.github.freya022.botcommands.api.core.utils.recover Replace: dev.freya02.botcommands.jda.ktx.requests.recover
Maps the encapsulated exception using the given block if it corresponds to the predicate.
Any thrown exception will be encapsulated in a new RestResult.
See also
Deprecated
Moved to the BotCommands-jda-ktx module You can find & replace: Find: io.github.freya022.botcommands.api.core.utils.recover Replace: dev.freya02.botcommands.jda.ktx.requests.recover
Maps the encapsulated exception using the given block if it corresponds to an ignored response.
Any thrown exception will be encapsulated in a new RestResult.
See also
Deprecated
Moved to the BotCommands-jda-ktx module You can find & replace: Find: io.github.freya022.botcommands.api.core.utils.recover Replace: dev.freya02.botcommands.jda.ktx.requests.recover
Maps the encapsulated exception using the given block if it corresponds to an ignored exception type.
Any thrown exception will be encapsulated in a new RestResult.