mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 12:54:20 +01:00
docs: document the OpenCode client migration surfaces (OM-179)
Adds JSDoc comments to the functions this branch adds or changes, so the touched-code docstring coverage clears the review threshold. Comments only; no code, formatting or import changes.
This commit is contained in:
1 parent
64e87ba1ea
commit
6297403a41
41 files changed
+691
No files matched your search
@@ -214,6 +214,10 @@ export async function probeOpenCodeServer(
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Extracts a human-readable message from an unknown thrown value, falling back to `String(error)`
|
||||
* for non-`Error` values.
|
||||
*/
|
||||
function messageOf(error: unknown): string {
|
||||
return error instanceof Error ? error.message : String(error)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user