mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-25 06:50:09 +08:00
Add Exceptions.kt
This commit is contained in:
parent
3414a77d86
commit
537c21452d
@ -0,0 +1,20 @@
|
||||
@file:Suppress("unused", "UNUSED_PARAMETER")
|
||||
|
||||
package net.mamoe.mirai.utils
|
||||
|
||||
/**
|
||||
* 在获取 [Group] 对象等操作时可能出现的异常
|
||||
*/
|
||||
class GroupNotFoundException : Exception {
|
||||
constructor()
|
||||
constructor(message: String?)
|
||||
constructor(message: String?, cause: Throwable?)
|
||||
constructor(cause: Throwable?)
|
||||
}
|
||||
|
||||
open class MiraiInternalException : Exception {
|
||||
constructor()
|
||||
constructor(message: String?)
|
||||
constructor(message: String?, cause: Throwable?)
|
||||
constructor(cause: Throwable?)
|
||||
}
|
Loading…
Reference in New Issue
Block a user