Kernel: Centralize error definitions in errors.h
This commit is contained in:
parent
743d18f0e4
commit
2cdb40d709
23 changed files with 178 additions and 132 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue