mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-03-09 10:52:56 +00:00
Kernel: Centralize error definitions in errors.h
This commit is contained in:
@@ -30,8 +30,7 @@ ResultCode ClientSession::SendSyncRequest() {
|
||||
if (parent->server)
|
||||
return parent->server->HandleSyncRequest();
|
||||
|
||||
return ResultCode(ErrorDescription::SessionClosedByRemote, ErrorModule::OS,
|
||||
ErrorSummary::Canceled, ErrorLevel::Status);
|
||||
return ERR_SESSION_CLOSED_BY_REMOTE;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user