ktgbotapi
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
ktgbotapi
tgbotapi.core
/
dev.inmo.tgbotapi.bot.exceptions
/
CommonBotException
Common
Bot
Exception
class
CommonBotException
(
message
:
String
=
"Something went wrong"
,
cause
:
Throwable
?
=
null
)
:
BotException
Members
Members & Extensions
Constructors
Common
Bot
Exception
Link copied to clipboard
constructor
(
message
:
String
=
"Something went wrong"
,
cause
:
Throwable
?
=
null
)
Properties
cause
Link copied to clipboard
open
val
cause
:
Throwable
?
message
Link copied to clipboard
open
val
message
:
String
?
Functions
caused
Cancellation
Exception
Link copied to clipboard
fun
Throwable
.
causedCancellationException
(
)
:
CancellationException
?
create
Copy
Link copied to clipboard
open
override
fun
createCopy
(
)
:
BotException
is
Caused
By
Cancellation
Link copied to clipboard
fun
Throwable
.
isCausedByCancellation
(
)
:
Boolean