1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-18 06:13:47 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.bot.exceptions/new-request-exception.md

12 lines
638 B
Markdown
Raw Normal View History

//[docs](../../index.md)/[dev.inmo.tgbotapi.bot.exceptions](index.md)/[newRequestException](new-request-exception.md)
# newRequestException
[common]
Content
fun [newRequestException](new-request-exception.md)(response: [Response](../dev.inmo.tgbotapi.types/-response/index.md), plainAnswer: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), message: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null, cause: [Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)? = null): [RequestException](-request-exception/index.md)