Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/krau/SaveAny-Bot
/ Error
Method
Error
api/types.go:104–106 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
102
}
103
104
func
(e *APIError) Error() string {
105
return
e.Message
106
}
107
108
// WriteJSON 写入 JSON 响应
109
func
WriteJSON(w http.ResponseWriter, statusCode int, data any) error {
Callers
15
handleAria2DlCmd
Function · 0.45
handleSilentCmd
Function · 0.45
handleSetDefaultCallback
Function · 0.45
handleStorageCmd
Function · 0.45
handleDirCmd
Function · 0.45
handleTaskCmd
Function · 0.45
handleSilentMode
Function · 0.45
handleParserInstallCmd
Function · 0.45
handleUpdateCmd
Function · 0.45
handleUpdateCallback
Function · 0.45
handleSaveCmd
Function · 0.45
handleBatchSave
Function · 0.45
Calls
no outgoing calls
Tested by
11
TestProgressTracker
Function · 0.36
TestTaskTitle
Function · 0.36
TestContextCancellation
Function · 0.36
TestTaskTitle
Function · 0.36
TestListTasksHandler
Function · 0.36
TestListStoragesHandler
Function · 0.36
TestTaskFactoryValidation
Function · 0.36
TestEdgeCases
Function · 0.36
TestGetTaskTypesHandler
Function · 0.36
TestTaskProgressInfoTimeUpdate
Function · 0.36
TestWebhookPayloadWithNilCompletedAt
Function · 0.36