Package dev. inmo. tgbotapi. bot. exceptions
Types
Common Request Exception
Link copied to clipboard
class CommonRequestException(response: Response, plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Content copied to clipboard
Get Updates Conflict
Link copied to clipboard
class GetUpdatesConflict(response: Response, plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Content copied to clipboard
Invalid Photo Dimensions Exception
Link copied to clipboard
class InvalidPhotoDimensionsException(response: Response, plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Content copied to clipboard
Message Is Not Modified Exception
Link copied to clipboard
class MessageIsNotModifiedException(response: Response, plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Content copied to clipboard
Message To Edit Not Found Exception
Link copied to clipboard
class MessageToEditNotFoundException(response: Response, plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Content copied to clipboard
Reply Message Not Found Exception
Link copied to clipboard
class ReplyMessageNotFoundException(response: Response, plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Content copied to clipboard
Request Exception
Link copied to clipboard
Too Much Requests Exception
Link copied to clipboard
class TooMuchRequestsException(retryAfter: RetryAfterError, response: Response, plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Content copied to clipboard
Unauthorized Exception
Link copied to clipboard
class UnauthorizedException(response: Response, plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Content copied to clipboard
Wrong File Identifier Exception
Link copied to clipboard
class WrongFileIdentifierException(response: Response, plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Content copied to clipboard
Functions
new Request Exception
Link copied to clipboard
fun newRequestException(response: Response, plainAnswer: String, message: String? = null, cause: Throwable? = null): RequestException
Content copied to clipboard