nspr: import 3.0 RC1 cutoff from CVS
[mozilla-nspr.git] / nsprpub / pr / src / misc / prerr.et
blob8578f95fe21e18dd6d45b24ac0b40562dc98ae08
1
2 # ***** BEGIN LICENSE BLOCK *****
3 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 # The contents of this file are subject to the Mozilla Public License Version
6 # 1.1 (the "License"); you may not use this file except in compliance with
7 # the License. You may obtain a copy of the License at
8 # http://www.mozilla.org/MPL/
10 # Software distributed under the License is distributed on an "AS IS" basis,
11 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 # for the specific language governing rights and limitations under the
13 # License.
15 # The Original Code is the Netscape Portable Runtime (NSPR).
17 # The Initial Developer of the Original Code is
18 # Netscape Communications Corporation.
19 # Portions created by the Initial Developer are Copyright (C) 1998-2000
20 # the Initial Developer. All Rights Reserved.
22 # Contributor(s):
24 # Alternatively, the contents of this file may be used under the terms of
25 # either the GNU General Public License Version 2 or later (the "GPL"), or
26 # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 # in which case the provisions of the GPL or the LGPL are applicable instead
28 # of those above. If you wish to allow use of your version of this file only
29 # under the terms of either the GPL or the LGPL, and not to allow others to
30 # use your version of this file under the terms of the MPL, indicate your
31 # decision by deleting the provisions above and replace them with the notice
32 # and other provisions required by the GPL or the LGPL. If you do not delete
33 # the provisions above, a recipient may use your version of this file under
34 # the terms of any one of the MPL, the GPL or the LGPL.
36 # ***** END LICENSE BLOCK *****
38 et nspr -6000
40 ec PR_OUT_OF_MEMORY_ERROR,      "Memory allocation attempt failed"
41 ec PR_BAD_DESCRIPTOR_ERROR,     "Invalid file descriptor"
42 ec PR_WOULD_BLOCK_ERROR,        "The operation would have blocked"
43 ec PR_ACCESS_FAULT_ERROR,       "Invalid memory address argument"
44 ec PR_INVALID_METHOD_ERROR,     "Invalid function for file type"
45 ec PR_ILLEGAL_ACCESS_ERROR,     "Invalid memory address argument"
46 ec PR_UNKNOWN_ERROR,            "Some unknown error has occurred"
47 ec PR_PENDING_INTERRUPT_ERROR,"Operation interrupted by another thread"
48 ec PR_NOT_IMPLEMENTED_ERROR,    "function not implemented"
49 ec PR_IO_ERROR,                 "I/O function error"
50 ec PR_IO_TIMEOUT_ERROR,         "I/O operation timed out"
51 ec PR_IO_PENDING_ERROR,         "I/O operation on busy file descriptor"
52 ec PR_DIRECTORY_OPEN_ERROR,     "The directory could not be opened"
53 ec PR_INVALID_ARGUMENT_ERROR, "Invalid function argument"
54 ec PR_ADDRESS_NOT_AVAILABLE_ERROR, "Network address not available (in use?)"
55 ec PR_ADDRESS_NOT_SUPPORTED_ERROR, "Network address type not supported"
56 ec PR_IS_CONNECTED_ERROR,       "Already connected"
57 ec PR_BAD_ADDRESS_ERROR,        "Network address is invalid"
58 ec PR_ADDRESS_IN_USE_ERROR,     "Local Network address is in use"
59 ec PR_CONNECT_REFUSED_ERROR,    "Connection refused by peer"
60 ec PR_NETWORK_UNREACHABLE_ERROR, "Network address is presently unreachable"
61 ec PR_CONNECT_TIMEOUT_ERROR,    "Connection attempt timed out"
62 ec PR_NOT_CONNECTED_ERROR,      "Network file descriptor is not connected"
63 ec PR_LOAD_LIBRARY_ERROR,       "Failure to load dynamic library"
64 ec PR_UNLOAD_LIBRARY_ERROR,     "Failure to unload dynamic library"
65 ec PR_FIND_SYMBOL_ERROR,
66 "Symbol not found in any of the loaded dynamic libraries"
67 ec PR_INSUFFICIENT_RESOURCES_ERROR, "Insufficient system resources"
68 ec PR_DIRECTORY_LOOKUP_ERROR,
69 "A directory lookup on a network address has failed"
70 ec PR_TPD_RANGE_ERROR,
71 "Attempt to access a TPD key that is out of range"
72 ec PR_PROC_DESC_TABLE_FULL_ERROR, "Process open FD table is full"
73 ec PR_SYS_DESC_TABLE_FULL_ERROR, "System open FD table is full"
74 ec PR_NOT_SOCKET_ERROR,
75 "Network operation attempted on non-network file descriptor"
76 ec PR_NOT_TCP_SOCKET_ERROR,
77 "TCP-specific function attempted on a non-TCP file descriptor"
78 ec PR_SOCKET_ADDRESS_IS_BOUND_ERROR, "TCP file descriptor is already bound"
79 ec PR_NO_ACCESS_RIGHTS_ERROR, "Access Denied"
80 ec PR_OPERATION_NOT_SUPPORTED_ERROR,
81 "The requested operation is not supported by the platform"
82 ec PR_PROTOCOL_NOT_SUPPORTED_ERROR,
83 "The host operating system does not support the protocol requested"
84 ec PR_REMOTE_FILE_ERROR,        "Access to the remote file has been severed"
85 ec PR_BUFFER_OVERFLOW_ERROR,
86 "The value requested is too large to be stored in the data buffer provided"
87 ec PR_CONNECT_RESET_ERROR,      "TCP connection reset by peer"
88 ec PR_RANGE_ERROR,              "Unused"
89 ec PR_DEADLOCK_ERROR,   "The operation would have deadlocked"
90 ec PR_FILE_IS_LOCKED_ERROR,     "The file is already locked"
91 ec PR_FILE_TOO_BIG_ERROR,
92 "Write would result in file larger than the system allows"
93 ec PR_NO_DEVICE_SPACE_ERROR,    "The device for storing the file is full"
94 ec PR_PIPE_ERROR,               "Unused"
95 ec PR_NO_SEEK_DEVICE_ERROR,     "Unused"
96 ec PR_IS_DIRECTORY_ERROR,
97 "Cannot perform a normal file operation on a directory"
98 ec PR_LOOP_ERROR,               "Symbolic link loop"
99 ec PR_NAME_TOO_LONG_ERROR,      "File name is too long"
100 ec PR_FILE_NOT_FOUND_ERROR,     "File not found"
101 ec PR_NOT_DIRECTORY_ERROR,
102 "Cannot perform directory operation on a normal file"
103 ec PR_READ_ONLY_FILESYSTEM_ERROR,
104 "Cannot write to a read-only file system"
105 ec PR_DIRECTORY_NOT_EMPTY_ERROR,
106 "Cannot delete a directory that is not empty"
107 ec PR_FILESYSTEM_MOUNTED_ERROR,
108 "Cannot delete or rename a file object while the file system is busy"
109 ec PR_NOT_SAME_DEVICE_ERROR,
110 "Cannot rename a file to a file system on another device"
111 ec PR_DIRECTORY_CORRUPTED_ERROR,
112 "The directory object in the file system is corrupted"
113 ec PR_FILE_EXISTS_ERROR,
114 "Cannot create or rename a filename that already exists"
115 ec PR_MAX_DIRECTORY_ENTRIES_ERROR,
116 "Directory is full.  No additional filenames may be added"
117 ec PR_INVALID_DEVICE_STATE_ERROR,
118 "The required device was in an invalid state"
119 ec PR_DEVICE_IS_LOCKED_ERROR, "The device is locked"
120 ec PR_NO_MORE_FILES_ERROR,      "No more entries in the directory"
121 ec PR_END_OF_FILE_ERROR,        "Encountered end of file"
122 ec PR_FILE_SEEK_ERROR,  "Seek error"
123 ec PR_FILE_IS_BUSY_ERROR,       "The file is busy"
124 ec PR_OPERATION_ABORTED_ERROR,  "The I/O operation was aborted"
125 ec PR_IN_PROGRESS_ERROR,
126 "Operation is still in progress (probably a non-blocking connect)"
127 ec PR_ALREADY_INITIATED_ERROR,
128 "Operation has already been initiated (probably a non-blocking connect)"
129 ec PR_GROUP_EMPTY_ERROR,        "The wait group is empty"
130 ec PR_INVALID_STATE_ERROR,      "Object state improper for request"
131 ec PR_NETWORK_DOWN_ERROR,       "Network is down"
132 ec PR_SOCKET_SHUTDOWN_ERROR,    "Socket shutdown"
133 ec PR_CONNECT_ABORTED_ERROR,    "Connection aborted"
134 ec PR_HOST_UNREACHABLE_ERROR,   "Host is unreachable"
135 ec PR_LIBRARY_NOT_LOADED_ERROR, "The library is not loaded"
136 ec PR_CALL_ONCE_ERROR, "The one-time function was previously called and failed. Its error code is no longer available"
138 ec PR_MAX_ERROR,                "Placeholder for the end of the list"