Skip to content

Commit 5655ec8

Browse files
committed
Update stable version to 3.5.7.
1 parent cd10e1d commit 5655ec8

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

dcache/src/main/java/dora/http/exception/DoraHttpException.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ package dora.http.exception
33
import okhttp3.Request
44
import java.lang.RuntimeException
55

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+
*/
612
class DoraHttpException(message: String) : RuntimeException(message) {
713

814
constructor(request: Request, msg: String?) : this("send ${request.url} return $msg")

0 commit comments

Comments
 (0)