Skip to content

Commit f74cf95

Browse files
committed
Remove unused reponse field
1 parent 7f3f149 commit f74cf95

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

library/src/main/kotlin/one/mixin/bot/api/MixinResponse.kt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,4 @@ class MixinResponse<T>() {
2323

2424
val isSuccess: Boolean
2525
get() = error == null
26-
27-
val errorCode: Int
28-
get() = if (error != null) error!!.code else 0
29-
30-
val errorDescription: String
31-
get() = if (error != null) error!!.description else ""
3226
}

0 commit comments

Comments
 (0)