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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user