Package dev.inmo.tgbotapi.bot.exceptions

Types

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

Functions

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