mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-22 19:25:56 +00:00
Phase 2b: launcher delegate driver, log-based failure diagnosis, fixture builder
Verified on a disposable fixture: start reports world_db_incompatible for a pristine DB with a newer binary; stop is graceful; live install untouched. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e1b8267022
commit
bbf06793ba
6 files changed
+306
No files matched your search
@@ -33,6 +33,8 @@ pub enum ErrorCode {
|
||||
WorldserverAlreadyRunning,
|
||||
InvalidConfigValue,
|
||||
DiskFull,
|
||||
OperationInProgress,
|
||||
StartupFailed,
|
||||
HashMismatch,
|
||||
PathRejected,
|
||||
Unknown,
|
||||
@@ -95,6 +97,16 @@ impl ErrorCode {
|
||||
"Free up some space or choose another drive, then try again.",
|
||||
&[ChooseAnotherFolder, Retry],
|
||||
),
|
||||
ErrorCode::OperationInProgress => (
|
||||
"Another action is still in progress",
|
||||
"The server is busy starting or stopping. Wait a moment and try again.",
|
||||
&[Retry],
|
||||
),
|
||||
ErrorCode::StartupFailed => (
|
||||
"Server could not start",
|
||||
"A service stopped while starting. Check the details for the cause.",
|
||||
&[FixAutomatically, ShowDetails],
|
||||
),
|
||||
ErrorCode::HashMismatch => (
|
||||
"A downloaded file is damaged",
|
||||
"The file did not match its checksum and was not used.",
|
||||
|
||||
Reference in new issue
Block a user