Package dev. inmo. tgbotapi. bot. exceptions
Types
Link copied to clipboard
sealed class BotException : IOException, CopyableThrowable<BotException>
Content copied to clipboard
Link copied to clipboard
class CommonBotException(message: String = "Something went wrong", cause: Throwable? = null) : BotException
Content copied to clipboard
Link copied to clipboard
class CommonRequestException( val response: Response, val plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Content copied to clipboard
Link copied to clipboard
class GetUpdatesConflict( val response: Response, val plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Content copied to clipboard
Link copied to clipboard
class InvalidPhotoDimensionsException( val response: Response, val plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Content copied to clipboard
Link copied to clipboard
class MessageIsNotModifiedException( val response: Response, val plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Content copied to clipboard
Link copied to clipboard
class MessageToEditNotFoundException( val response: Response, val plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Content copied to clipboard
Link copied to clipboard
class ReplyMessageNotFoundException( val response: Response, val plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
class TooMuchRequestsException( val retryAfter: RetryAfterError, val response: Response, val plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Content copied to clipboard
Link copied to clipboard
class UnauthorizedException( val response: Response, val plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Content copied to clipboard
Link copied to clipboard
class WrongFileIdentifierException( val response: Response, val plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Content copied to clipboard
Functions
Link copied to clipboard
fun newRequestException( response: Response, plainAnswer: String, message: String? = null, cause: Throwable? = null): RequestException
Content copied to clipboard