We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd10e1d commit 5655ec8Copy full SHA for 5655ec8
1 file changed
dcache/src/main/java/dora/http/exception/DoraHttpException.kt
@@ -3,6 +3,12 @@ package dora.http.exception
3
import okhttp3.Request
4
import java.lang.RuntimeException
5
6
+/**
7
+ * Custom HTTP exception class used to wrap error information from network requests.
8
+ * 简体中文:自定义 HTTP 异常类,用于封装网络请求中的错误信息。
9
+ *
10
+ * @param message The description of the exception. 简体中文:异常描述信息
11
+ */
12
class DoraHttpException(message: String) : RuntimeException(message) {
13
14
constructor(request: Request, msg: String?) : this("send ${request.url} return $msg")
0 commit comments