Initial commit
Some checks failed
定时更新GitHub源插件 / 自动更新GitHub插件 (push) Has been cancelled

This commit is contained in:
chorblack
2026-03-07 11:19:25 +08:00
commit e75f275ef4
4484 changed files with 645480 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?php
class JsonableException extends Exception {
public function responseJson()
{
header('Content-Type: application/json');
echo json_encode(array(
'status' => false,
'error' => $this->getMessage(),
));
}
}
class VersionNotMatchException extends JsonableException{}
class DownloadErrorException extends JsonableException{}
class UnzipErrorException extends JsonableException{}