New error codes:

- B_SHUTDOWN_CANCELLED: The shutdown process was cancelled (most likely by
  the user).
- B_SHUTTING_DOWN: An operation cannot be performed, since the system is
  shutting down (e.g. BApplication creation).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13413 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2005-07-03 16:50:29 +00:00
parent ea6253d0ba
commit a406236dc2
2 changed files with 7 additions and 1 deletions
+3 -1
View File
@@ -106,7 +106,9 @@ enum
B_LAUNCH_FAILED_NO_PREFERRED_APP,
B_LAUNCH_FAILED_FILES_APP_NOT_FOUND,
B_BAD_MIME_SNIFFER_RULE,
B_NOT_A_MESSAGE
B_NOT_A_MESSAGE,
B_SHUTDOWN_CANCELLED,
B_SHUTTING_DOWN
};
@@ -168,6 +168,10 @@ error_description(int error)
return "Bad sniffer rule";
case B_NOT_A_MESSAGE:
return "Data is not a message";
case B_SHUTDOWN_CANCELLED:
return "System shutdown cancelled";
case B_SHUTTING_DOWN:
return "System shutting down";
// Storage Kit Errors