# dev.inmo.tgbotapi.bot.exceptions

docs

# Package dev.inmo.tgbotapi.bot.exceptions

## Types

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

## Functions

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