SET_ERROR
SET_ERROR(result, B_BAD_DATA);
SET_ERROR(result, fSecurityContext->AuthenticateUser(userName,
SET_ERROR(result, fSecurityContext->GetUserSecurityContext(user,
SET_ERROR(result, B_NO_MEMORY);
SET_ERROR(result, B_PERMISSION_DENIED);
SET_ERROR(result, B_ENTRY_NOT_FOUND);
SET_ERROR(result, volume->Mount(securityContext, share));
SET_ERROR(result, B_BAD_VALUE);
SET_ERROR(result, volume->LockNodeHandle(request->cookie, &handle));
SET_ERROR(result, volume->Close(handle));
SET_ERROR(result, _LockQueryHandle(request->cookie, &handle));
SET_ERROR(result, _CloseQuery(handle));
SET_ERROR(error, B_NO_MEMORY);
SET_ERROR(error, B_NO_MEMORY);
SET_ERROR(error, B_NO_MEMORY);
SET_ERROR(error, B_NO_MEMORY);
SET_ERROR(error, fTable.Insert(child));
SET_ERROR(error, B_NO_MEMORY);
SET_ERROR(error, B_NO_MEMORY);
SET_ERROR(error, fNodes.Insert(node));
SET_ERROR(error, B_NO_MEMORY);
SET_ERROR(error, B_NO_MEMORY);
SET_ERROR(error, B_NO_MEMORY);
SET_ERROR(error, B_NO_MEMORY);
SET_ERROR(error, B_NO_MEMORY);
SET_ERROR(error, B_BAD_VALUE);
SET_ERROR(error, B_BAD_VALUE);
SET_ERROR(error, B_ERROR);
SET_ERROR(error, B_NOT_ALLOWED);
SET_ERROR(error, B_FILE_EXISTS);
SET_ERROR(error, B_NOT_A_DIRECTORY);
SET_ERROR(error, B_DIRECTORY_NOT_EMPTY);
SET_ERROR(error, B_ENTRY_NOT_FOUND);
SET_ERROR(error, B_NO_MEMORY);
SET_ERROR(error, B_NO_MEMORY);
SET_ERROR(error, B_BUFFER_OVERFLOW);
SET_ERROR(error, cookie->Init(name, openMode));
SET_ERROR(error, B_NO_MEMORY);
SET_ERROR(error, B_NOT_ALLOWED);
SET_ERROR(error, B_NOT_ALLOWED);
SET_ERROR(error, B_NOT_ALLOWED);
SET_ERROR(error, B_NO_MEMORY);
SET_ERROR(error, B_ENTRY_NOT_FOUND);
SET_ERROR(error, B_BUFFER_OVERFLOW);
SET_ERROR(error, B_FILE_EXISTS);
SET_ERROR(error, B_ENTRY_NOT_FOUND);
SET_ERROR(error, B_BAD_VALUE);
SET_ERROR(error, B_ENTRY_NOT_FOUND);
SET_ERROR(error, B_ENTRY_NOT_FOUND);
SET_ERROR(error, B_ENTRY_NOT_FOUND);
SET_ERROR(error, B_ENTRY_NOT_FOUND);
SET_ERROR(error, B_ENTRY_NOT_FOUND);
SET_ERROR(error, B_ENTRY_NOT_FOUND);
SET_ERROR(error, B_ERROR);
SET_ERROR(error, B_BAD_VALUE);
SET_ERROR(error, B_NOT_ALLOWED);
SET_ERROR(error, B_FILE_EXISTS);
SET_ERROR(error, B_NOT_ALLOWED);
SET_ERROR(error, B_FILE_EXISTS);
SET_ERROR(error, B_DIRECTORY_NOT_EMPTY);
SET_ERROR(error, B_ENTRY_NOT_FOUND);
SET_ERROR(error, B_NOT_ALLOWED);
SET_ERROR(error, B_ENTRY_NOT_FOUND);
SET_ERROR(error, B_NAME_IN_USE);
SET_ERROR(error, B_NOT_ALLOWED);
SET_ERROR(error, B_NO_MEMORY);
SET_ERROR(error, B_FILE_EXISTS);
SET_ERROR(error, B_NOT_ALLOWED);
SET_ERROR(error, B_NOT_ALLOWED);
SET_ERROR(error, B_NO_MEMORY);
SET_ERROR(error, errno);
SET_ERROR(error, item.GetStatData(node->GetStatData(), true));
SET_ERROR(error, B_BAD_VALUE);
SET_ERROR(error, B_ENTRY_NOT_FOUND);
SET_ERROR(error, B_ALREADY_RUNNING);
SET_ERROR(error, B_ALREADY_RUNNING);
SET_ERROR(error, B_BAD_VALUE);
SET_ERROR(error, B_REG_ALREADY_REGISTERED);
SET_ERROR(error, B_NO_MEMORY);
SET_ERROR(error, B_NO_MEMORY);
SET_ERROR(error, B_BAD_VALUE);
SET_ERROR(error, B_BAD_VALUE);
SET_ERROR(error, B_REG_APP_NOT_PRE_REGISTERED);
SET_ERROR(error, B_BAD_VALUE);
SET_ERROR(error, B_BAD_VALUE);
SET_ERROR(error, B_ENTRY_NOT_FOUND);
SET_ERROR(error, B_BAD_VALUE);
SET_ERROR(error, B_BAD_VALUE);
SET_ERROR(error, B_REG_APP_NOT_PRE_REGISTERED);
SET_ERROR(error, B_REG_APP_NOT_REGISTERED);
SET_ERROR(error, B_BAD_VALUE);
SET_ERROR(error, B_BAD_VALUE);
SET_ERROR(error, info->port);
SET_ERROR(error, set_port_owner(info->port, team));
SET_ERROR(error, AddApp(info));
SET_ERROR(error, B_REG_APP_NOT_PRE_REGISTERED);
SET_ERROR(error, B_REG_APP_NOT_REGISTERED);
SET_ERROR(error, B_BAD_TEAM_ID);
SET_ERROR(error, B_ERROR);
SET_ERROR(error, B_ERROR);
SET_ERROR(error, B_ERROR);