B_MESSAGE_NOT_UNDERSTOOD is better than B_ERROR for what fields

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18934 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2006-09-25 21:21:28 +00:00
parent ccc3d07d9e
commit 3354a9cc67

View File

@ -1155,7 +1155,7 @@ BApplication::ScriptReceived(BMessage *message, int32 index,
return false;
}
if (err < B_OK) {
reply.what = B_ERROR;
reply.what = B_MESSAGE_NOT_UNDERSTOOD;
reply.AddString("message", strerror(err));
}
reply.AddInt32("error", err);