Package dev.inmo.tgbotapi.bot.exceptions

Types

Link copied to clipboard
class CommonRequestException(response: Response, plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Link copied to clipboard
class GetUpdatesConflict(response: Response, plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Link copied to clipboard
class InvalidPhotoDimensionsException(response: Response, plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Link copied to clipboard
class MessageIsNotModifiedException(response: Response, plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Link copied to clipboard
class MessageToEditNotFoundException(response: Response, plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Link copied to clipboard
class ReplyMessageNotFoundException(response: Response, plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Link copied to clipboard
sealed class RequestException : IOException
Link copied to clipboard
class TooMuchRequestsException(retryAfter: RetryAfterError, response: Response, plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Link copied to clipboard
class UnauthorizedException(response: Response, plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Link copied to clipboard
class WrongFileIdentifierException(response: Response, plainAnswer: String, message: String?, cause: Throwable?) : RequestException

Functions

Link copied to clipboard
fun newRequestException(response: Response, plainAnswer: String, message: String? = null, cause: Throwable? = null): RequestException