Package dev.inmo.tgbotapi.bot.exceptions

Types

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

Functions

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