Package-level declarations
Types
Link copied to clipboard
class ApiException(val httpResponseCode: Int?, val plainResponse: String, response: Response? = null) : CommonBotException
Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
class TooMuchRequestsException(val 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): BotException