-
Notifications
You must be signed in to change notification settings - Fork 0
Error Handling
v2rayroot edited this page Jun 14, 2026
·
1 revision
V2Root Core uses several result styles.
| API | Error form |
|---|---|
Start, Stop
|
Non-null allocated text |
| Validation/stats/assets | JSON object containing error
|
| Parser/converter | Allocated empty string |
| Latency | Per-item ERROR, -1, or [ERROR]...
|
- Copy and release the native result immediately.
- Normalize results into one host-language result/exception type.
- Preserve the original message for diagnostics.
- Avoid matching full error strings.
- Include version metadata in support reports.
Do not include complete share URIs, UUIDs, passwords, REALITY keys, or raw configurations in telemetry by default.